diff options
-rw-r--r-- | arch/parisc/include/asm/unistd.h | 10 | ||||
-rw-r--r-- | arch/parisc/kernel/pacache.S | 6 | ||||
-rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 8 | ||||
-rw-r--r-- | arch/parisc/kernel/syscall_table.S | 6 |
4 files changed, 24 insertions, 6 deletions
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index 3eb82c2a5ec3..9cbc2c3bf630 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h | |||
@@ -814,8 +814,14 @@ | |||
814 | #define __NR_recvmmsg (__NR_Linux + 319) | 814 | #define __NR_recvmmsg (__NR_Linux + 319) |
815 | #define __NR_accept4 (__NR_Linux + 320) | 815 | #define __NR_accept4 (__NR_Linux + 320) |
816 | #define __NR_prlimit64 (__NR_Linux + 321) | 816 | #define __NR_prlimit64 (__NR_Linux + 321) |
817 | 817 | #define __NR_fanotify_init (__NR_Linux + 322) | |
818 | #define __NR_Linux_syscalls (__NR_prlimit64 + 1) | 818 | #define __NR_fanotify_mark (__NR_Linux + 323) |
819 | #define __NR_clock_adjtime (__NR_Linux + 324) | ||
820 | #define __NR_name_to_handle_at (__NR_Linux + 325) | ||
821 | #define __NR_open_by_handle_at (__NR_Linux + 326) | ||
822 | #define __NR_syncfs (__NR_Linux + 327) | ||
823 | |||
824 | #define __NR_Linux_syscalls (__NR_syncfs + 1) | ||
819 | 825 | ||
820 | 826 | ||
821 | #define __IGNORE_select /* newselect */ | 827 | #define __IGNORE_select /* newselect */ |
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S index a85823668cba..93ff3d90edd1 100644 --- a/arch/parisc/kernel/pacache.S +++ b/arch/parisc/kernel/pacache.S | |||
@@ -817,10 +817,7 @@ ENTRY(purge_kernel_dcache_page) | |||
817 | .procend | 817 | .procend |
818 | ENDPROC(purge_kernel_dcache_page) | 818 | ENDPROC(purge_kernel_dcache_page) |
819 | 819 | ||
820 | 820 | ENTRY(flush_user_dcache_range_asm) | |
821 | .export flush_user_dcache_range_asm | ||
822 | |||
823 | flush_user_dcache_range_asm: | ||
824 | .proc | 821 | .proc |
825 | .callinfo NO_CALLS | 822 | .callinfo NO_CALLS |
826 | .entry | 823 | .entry |
@@ -839,6 +836,7 @@ flush_user_dcache_range_asm: | |||
839 | .exit | 836 | .exit |
840 | 837 | ||
841 | .procend | 838 | .procend |
839 | ENDPROC(flush_user_dcache_range_asm) | ||
842 | 840 | ||
843 | ENTRY(flush_kernel_dcache_range_asm) | 841 | ENTRY(flush_kernel_dcache_range_asm) |
844 | .proc | 842 | .proc |
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, | |||
228 | return sys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo, | 228 | return sys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo, |
229 | ((loff_t)lenhi << 32) | lenlo); | 229 | ((loff_t)lenhi << 32) | lenlo); |
230 | } | 230 | } |
231 | |||
232 | asmlinkage long compat_sys_fanotify_mark(int fan_fd, int flags, u32 mask_hi, | ||
233 | u32 mask_lo, int fd, | ||
234 | const char __user *pathname) | ||
235 | { | ||
236 | return sys_fanotify_mark(fan_fd, flags, ((u64)mask_hi << 32) | mask_lo, | ||
237 | fd, pathname); | ||
238 | } | ||
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index 4be85ee10b85..a5b02ce4d41e 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S | |||
@@ -420,6 +420,12 @@ | |||
420 | ENTRY_COMP(recvmmsg) | 420 | ENTRY_COMP(recvmmsg) |
421 | ENTRY_SAME(accept4) /* 320 */ | 421 | ENTRY_SAME(accept4) /* 320 */ |
422 | ENTRY_SAME(prlimit64) | 422 | ENTRY_SAME(prlimit64) |
423 | ENTRY_SAME(fanotify_init) | ||
424 | ENTRY_COMP(fanotify_mark) | ||
425 | ENTRY_COMP(clock_adjtime) | ||
426 | ENTRY_SAME(name_to_handle_at) /* 325 */ | ||
427 | ENTRY_COMP(open_by_handle_at) | ||
428 | ENTRY_SAME(syncfs) | ||
423 | 429 | ||
424 | /* Nothing yet */ | 430 | /* Nothing yet */ |
425 | 431 | ||