diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2011-05-24 17:11:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 08:39:02 -0700 |
commit | 851cc856d73d1185243c149ed0c0839df8a1b2fe (patch) | |
tree | b11f630e27b3e78654ddb57dc17ac03ebbdfcc66 | |
parent | 45fd9515962b1837617f0e908b693e8f829f6e05 (diff) | |
download | kernel_samsung_espresso10-851cc856d73d1185243c149ed0c0839df8a1b2fe.zip kernel_samsung_espresso10-851cc856d73d1185243c149ed0c0839df8a1b2fe.tar.gz kernel_samsung_espresso10-851cc856d73d1185243c149ed0c0839df8a1b2fe.tar.bz2 |
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>
-rw-r--r-- | arch/xtensa/include/asm/page.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/xtensa/include/asm/page.h b/arch/xtensa/include/asm/page.h index 161bb89..7a5591a 100644 --- a/arch/xtensa/include/asm/page.h +++ b/arch/xtensa/include/asm/page.h @@ -171,10 +171,6 @@ extern void copy_user_page(void*, void*, unsigned long, struct page*); #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) -#ifdef CONFIG_MMU -#define WANT_PAGE_VIRTUAL -#endif - #endif /* __ASSEMBLY__ */ #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ |