projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[cascardo/linux.git]
/
include
/
asm-sparc
/
mman.h
diff --git
a/include/asm-sparc/mman.h
b/include/asm-sparc/mman.h
index
88d1886
..
b7dc40b
100644
(file)
--- a/
include/asm-sparc/mman.h
+++ b/
include/asm-sparc/mman.h
@@
-35,4
+35,12
@@
#define MADV_FREE 0x5 /* (Solaris) contents can be freed */
#define MADV_FREE 0x5 /* (Solaris) contents can be freed */
+#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
+#define arch_mmap_check sparc_mmap_check
+int sparc_mmap_check(unsigned long addr, unsigned long len,
+ unsigned long flags);
+#endif
+#endif
+
#endif /* __SPARC_MMAN_H__ */
#endif /* __SPARC_MMAN_H__ */