summaryrefslogtreecommitdiff
path: root/arch/um/include/asm
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2024-08-26 13:08:09 +0300
committerRichard Weinberger <richard@nod.at>2024-09-12 21:32:55 +0300
commit2fcd16fbab9f448c7174bf4c3eeda53ef84e28ee (patch)
tree78efea1a2d2361f7223e9f285754e56c2ee40e86 /arch/um/include/asm
parent2df8c8d118c750054fdf2c047d2eb3c0ed854dc7 (diff)
downloadlinux-2fcd16fbab9f448c7174bf4c3eeda53ef84e28ee.tar.xz
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 <tiwei.btw@antgroup.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r--arch/um/include/asm/pgtable.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/asm/pgtable.h
index 5bb397b65efb..83373c9963e7 100644
--- a/arch/um/include/asm/pgtable.h
+++ b/arch/um/include/asm/pgtable.h
@@ -359,11 +359,4 @@ static inline pte_t pte_swp_clear_exclusive(pte_t 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