diff options
author | David Howells <dhowells@redhat.com> | 2011-12-13 10:07:49 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-12-13 10:07:49 -0500 |
commit | 1632b9e2a14ce9f4e08faf6c4380431d63319bd3 (patch) | |
tree | 572e45a2de74d233af5d98242bafbd193e074f43 /arch/s390 | |
parent | fdc29805bd7cae133303045fc0249d76f3827613 (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')
-rw-r--r-- | arch/s390/include/asm/mman.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/include/asm/mman.h b/arch/s390/include/asm/mman.h index 4e9c8ae0a63..d49760e6350 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) | ||
15 | int s390_mmap_check(unsigned long addr, unsigned long len); | 16 | int 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__ */ |