uml-i386: fix build breakage with CONFIG_HIGHMEM
PATCH 1/1 uml-i386: fix build breakage with CONFIG_HIGHMEM
missing helper used by arch/i386/mm/highmem.c, which is pulled into build on that configuration.
Signed-off-by Al Viro <[email protected]>
--- include/asm-um/pgtable.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
include/asm-um/pgtable.h +9 -0
@@ -408,6 +408,15 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)#include <asm-generic/pgtable-nopud.h> +#ifdef CONFIG_HIGHMEM +/* 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 #endif
Signature · 1 line
1.5.0-rc2.GIT
Quoted 4 lines · Al Viro
missing helper used by
arch/i386/mm/highmem.c, which is pulled into build on that configuration.Signed-off-by Al Viro <[email protected]>
ACK
Jeff
Signature · 1 line
Work email - jdike at linux dot intel dot com