summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-12 18:03:21 +0200
committerJeff Garzik <jeff@garzik.org>2006-09-12 18:03:21 +0200
commit97148ba2235e334e57d05fa07045cf3e6629763c (patch)
treea04504e7d4feb0dacfe1862a59abecaf99997f09 /include/asm-sparc64
parent[PATCH] pata_amd: Check enable bits on Nvidia (diff)
parentMerge branch 'audit.b28' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadlinux-97148ba2235e334e57d05fa07045cf3e6629763c.tar.xz
linux-97148ba2235e334e57d05fa07045cf3e6629763c.zip
Merge branch 'master' into upstream
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/mman.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-sparc64/mman.h b/include/asm-sparc64/mman.h
index 6fd878e61435..8cc1860be630 100644
--- a/include/asm-sparc64/mman.h
+++ b/include/asm-sparc64/mman.h
@@ -35,4 +35,12 @@
#define MADV_FREE 0x5 /* (Solaris) contents can be freed */
+#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
+#define arch_mmap_check sparc64_mmap_check
+int sparc64_mmap_check(unsigned long addr, unsigned long len,
+ unsigned long flags);
+#endif
+#endif
+
#endif /* __SPARC64_MMAN_H__ */