forked from Minki/linux
1632b9e2a1
Split trivial #if defined(__KERNEL__) && X conditionals to make automated disintegration easier. Signed-off-by: David Howells <dhowells@redhat.com>
22 lines
428 B
C
22 lines
428 B
C
/*
|
|
* include/asm-s390/mman.h
|
|
*
|
|
* S390 version
|
|
*
|
|
* Derived from "include/asm-i386/mman.h"
|
|
*/
|
|
|
|
#ifndef __S390_MMAN_H__
|
|
#define __S390_MMAN_H__
|
|
|
|
#include <asm-generic/mman.h>
|
|
|
|
#if defined(__KERNEL__)
|
|
#if !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
|
|
int s390_mmap_check(unsigned long addr, unsigned long len);
|
|
#define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len)
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* __S390_MMAN_H__ */
|