aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/mman.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-12-13 10:07:49 -0500
committerDavid Howells <dhowells@redhat.com>2011-12-13 10:07:49 -0500
commit1632b9e2a14ce9f4e08faf6c4380431d63319bd3 (patch)
tree572e45a2de74d233af5d98242bafbd193e074f43 /arch/s390/include/asm/mman.h
parentfdc29805bd7cae133303045fc0249d76f3827613 (diff)
UAPI: Split trivial #if defined(__KERNEL__) && X conditionals
Split trivial #if defined(__KERNEL__) && X conditionals to make automated disintegration easier. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/s390/include/asm/mman.h')
-rw-r--r--arch/s390/include/asm/mman.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/include/asm/mman.h b/arch/s390/include/asm/mman.h
index 4e9c8ae0a637..d49760e63506 100644
--- a/arch/s390/include/asm/mman.h
+++ b/arch/s390/include/asm/mman.h
@@ -11,9 +11,11 @@
11 11
12#include <asm-generic/mman.h> 12#include <asm-generic/mman.h>
13 13
14#if defined(__KERNEL__) && !defined(__ASSEMBLY__) && defined(CONFIG_64BIT) 14#if defined(__KERNEL__)
15#if !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
15int s390_mmap_check(unsigned long addr, unsigned long len); 16int s390_mmap_check(unsigned long addr, unsigned long len);
16#define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len) 17#define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len)
17#endif 18#endif
19#endif
18 20
19#endif /* __S390_MMAN_H__ */ 21#endif /* __S390_MMAN_H__ */