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

frv: move HAVE_ARCH_UNMAPPED_AREA to pgtable.h

it has no business in uaccess.h, everything else has it in pgtable.h and
the only user (mm/mmap.c) unconditionally pulls asm/pgtable.h via linux/mm.h.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 08435d89 df720ac1

+1 -2
+1
arch/frv/include/asm/pgtable.h
··· 522 522 #ifndef __ASSEMBLY__ 523 523 extern void __init paging_init(void); 524 524 #endif /* !__ASSEMBLY__ */ 525 + #define HAVE_ARCH_UNMAPPED_AREA 525 526 526 527 #endif /* _ASM_PGTABLE_H */
-2
arch/frv/include/asm/uaccess.h
··· 20 20 #include <asm/segment.h> 21 21 #include <asm/sections.h> 22 22 23 - #define HAVE_ARCH_UNMAPPED_AREA /* we decide where to put mmaps */ 24 - 25 23 #define __ptr(x) ((unsigned long __force *)(x)) 26 24 27 25 #define VERIFY_READ 0