]> git.karo-electronics.de Git - linux-beck.git/commitdiff
frv: move HAVE_ARCH_UNMAPPED_AREA to pgtable.h
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 3 Sep 2016 21:07:08 +0000 (17:07 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 28 Sep 2016 01:15:19 +0000 (21:15 -0400)
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>
arch/frv/include/asm/pgtable.h
arch/frv/include/asm/uaccess.h

index 07d7a7ef8bd59c7387328e6add1b6426b0b51a52..a0513d463a1fa86d39e4af642f68e6f279b69f3a 100644 (file)
@@ -522,5 +522,6 @@ extern void __init pgtable_cache_init(void);
 #ifndef __ASSEMBLY__
 extern void __init paging_init(void);
 #endif /* !__ASSEMBLY__ */
+#define HAVE_ARCH_UNMAPPED_AREA
 
 #endif /* _ASM_PGTABLE_H */
index 87d9e34c5df866072ced6de336ea07e3755853eb..c0f4057eab60dfe065d542a0e3ff3cf30a276fa2 100644 (file)
@@ -20,8 +20,6 @@
 #include <asm/segment.h>
 #include <asm/sections.h>
 
-#define HAVE_ARCH_UNMAPPED_AREA        /* we decide where to put mmaps */
-
 #define __ptr(x) ((unsigned long __force *)(x))
 
 #define VERIFY_READ    0