mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
6e17b17f1f
A number of architectures have identical asm/mman.h files so they can all be merged by using the new generic file. The remaining asm/mman.h files are substantially different from each other. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
20 lines
420 B
C
20 lines
420 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__) && !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 /* __S390_MMAN_H__ */
|