Commit 2fcd16fb authored by Tiwei Bie's avatar Tiwei Bie Committed by Richard Weinberger

um: Remove unused kpte_clear_flush macro

This macro has no users, and __flush_tlb_one doesn't exist either.
Signed-off-by: default avatarTiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 2df8c8d1
...@@ -359,11 +359,4 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte) ...@@ -359,11 +359,4 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
return pte; return pte;
} }
/* Clear a kernel PTE and flush it from the TLB */
#define kpte_clear_flush(ptep, vaddr) \
do { \
pte_clear(&init_mm, (vaddr), (ptep)); \
__flush_tlb_one((vaddr)); \
} while (0)
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment