projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ide-floppy: use an xfer_func_t and io_buf_t typedefs in order to unify rw
[powerpc.git]
/
include
/
asm-ia64
/
mman.h
diff --git
a/include/asm-ia64/mman.h
b/include/asm-ia64/mman.h
index
6ba179f
..
c73b878
100644
(file)
--- a/
include/asm-ia64/mman.h
+++ b/
include/asm-ia64/mman.h
@@
-22,4
+22,12
@@
#define MCL_CURRENT 1 /* lock all current mappings */
#define MCL_FUTURE 2 /* lock all future mappings */
#define MCL_CURRENT 1 /* lock all current mappings */
#define MCL_FUTURE 2 /* lock all future mappings */
+#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
+#define arch_mmap_check ia64_mmap_check
+int ia64_mmap_check(unsigned long addr, unsigned long len,
+ unsigned long flags);
+#endif
+#endif
+
#endif /* _ASM_IA64_MMAN_H */
#endif /* _ASM_IA64_MMAN_H */