Skip to content

Commit 2fcd16f

Browse files
btw616richardweinberger
authored andcommitted
um: Remove unused kpte_clear_flush macro
This macro has no users, and __flush_tlb_one doesn't exist either. Signed-off-by: Tiwei Bie <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent 2df8c8d commit 2fcd16f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

arch/um/include/asm/pgtable.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,4 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
359359
return pte;
360360
}
361361

362-
/* Clear a kernel PTE and flush it from the TLB */
363-
#define kpte_clear_flush(ptep, vaddr) \
364-
do { \
365-
pte_clear(&init_mm, (vaddr), (ptep)); \
366-
__flush_tlb_one((vaddr)); \
367-
} while (0)
368-
369362
#endif

0 commit comments

Comments
 (0)