summaryrefslogtreecommitdiff
path: root/arch/frv/include/asm/pgtable.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-09-03 17:07:08 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-09-27 21:15:19 -0400
commit08435d89dd5890c3e72dbdc0f47e7b06f0012447 (patch)
treebe4e2396221a2410158f6862227ab5a901541e79 /arch/frv/include/asm/pgtable.h
parentdf720ac12fc76d235a1b0d7ebccd14b23085c24e (diff)
downloadlwn-08435d89dd5890c3e72dbdc0f47e7b06f0012447.tar.gz
lwn-08435d89dd5890c3e72dbdc0f47e7b06f0012447.zip
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>
Diffstat (limited to 'arch/frv/include/asm/pgtable.h')
-rw-r--r--arch/frv/include/asm/pgtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/frv/include/asm/pgtable.h b/arch/frv/include/asm/pgtable.h
index 07d7a7ef8bd5..a0513d463a1f 100644
--- a/arch/frv/include/asm/pgtable.h
+++ b/arch/frv/include/asm/pgtable.h
@@ -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 */