Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08435d89 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent df720ac1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */
+0 −2
Original line number Diff line number Diff line
@@ -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