Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa/mm: remove WANT_PAGE_VIRTUAL

This is not useful: it provides page->virtual and is used with highmem.
xtensa has no support for highmem and those HIGHMEM bits which are found
by grep are partly implemented. The interesting functions like kmap() are
missing. If someone actually implements the complete HIGHMEM support he
could use HASHED_PAGE_VIRTUAL like most others do.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Cc: Chris Zankel <chris@zankel.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Sebastian Andrzej Siewior and committed by
Linus Torvalds
851cc856 45fd9515

-4
-4
arch/xtensa/include/asm/page.h
··· 171 171 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) 172 172 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) 173 173 174 - #ifdef CONFIG_MMU 175 - #define WANT_PAGE_VIRTUAL 176 - #endif 177 - 178 174 #endif /* __ASSEMBLY__ */ 179 175 180 176 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \