projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2df8c8d
)
um: Remove unused kpte_clear_flush macro
author
Tiwei Bie
<tiwei.btw@antgroup.com>
Mon, 26 Aug 2024 10:08:09 +0000
(18:08 +0800)
committer
Richard Weinberger
<richard@nod.at>
Thu, 12 Sep 2024 18:32:55 +0000
(20:32 +0200)
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>
arch/um/include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/arch/um/include/asm/pgtable.h
b/arch/um/include/asm/pgtable.h
index
5bb397b
..
83373c9
100644
(file)
--- 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