aboutsummaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/sys_parisc32.c
diff options
context:
space:
mode:
authorJames Bottomley2011-04-15 08:55:44 -0700
committerJames Bottomley2011-04-15 13:54:39 -0500
commit1824074b07ee66fa0f714e08579ad85075132d7b (patch)
tree519ca5ff2792a81e1fa5dfdf7c589734ce882f02 /arch/parisc/kernel/sys_parisc32.c
parentb54cd0d5053633373cd3c374aa203024cbf125a0 (diff)
[PARISC] wire up fanotify syscalls
Cc: stable@kernel.org Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'arch/parisc/kernel/sys_parisc32.c')
-rw-r--r--arch/parisc/kernel/sys_parisc32.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c
index 88a0ad14a9c9..dc9a62462323 100644
--- a/arch/parisc/kernel/sys_parisc32.c
+++ b/arch/parisc/kernel/sys_parisc32.c
@@ -228,3 +228,11 @@ asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo,
return sys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo,
((loff_t)lenhi << 32) | lenlo);
}
+
+asmlinkage long compat_sys_fanotify_mark(int fan_fd, int flags, u32 mask_hi,
+ u32 mask_lo, int fd,
+ const char __user *pathname)
+{
+ return sys_fanotify_mark(fan_fd, flags, ((u64)mask_hi << 32) | mask_lo,
+ fd, pathname);
+}