Skip to content

Commit 851cc85

Browse files
sebastianastorvalds
authored andcommitted
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 <[email protected]> Cc: Chris Zankel <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 45fd951 commit 851cc85

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/xtensa/include/asm/page.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ extern void copy_user_page(void*, void*, unsigned long, struct page*);
171171
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
172172
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
173173

174-
#ifdef CONFIG_MMU
175-
#define WANT_PAGE_VIRTUAL
176-
#endif
177-
178174
#endif /* __ASSEMBLY__ */
179175

180176
#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \

0 commit comments

Comments
 (0)