Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247834
b: refs/heads/master
c: 7fe2ac6
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley committed May 22, 2011
1 parent e3db036 commit 257fcd1
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7d45818444a31948cfc7849136013a0ea54b2fb
refs/heads/master: 7fe2ac6882f74e8bd5b3891f63c09cb10aee9d03
10 changes: 8 additions & 2 deletions trunk/arch/parisc/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -814,8 +814,14 @@
#define __NR_recvmmsg (__NR_Linux + 319)
#define __NR_accept4 (__NR_Linux + 320)
#define __NR_prlimit64 (__NR_Linux + 321)

#define __NR_Linux_syscalls (__NR_prlimit64 + 1)
#define __NR_fanotify_init (__NR_Linux + 322)
#define __NR_fanotify_mark (__NR_Linux + 323)
#define __NR_clock_adjtime (__NR_Linux + 324)
#define __NR_name_to_handle_at (__NR_Linux + 325)
#define __NR_open_by_handle_at (__NR_Linux + 326)
#define __NR_syncfs (__NR_Linux + 327)

#define __NR_Linux_syscalls (__NR_syncfs + 1)


#define __IGNORE_select /* newselect */
Expand Down
6 changes: 2 additions & 4 deletions trunk/arch/parisc/kernel/pacache.S
Original file line number Diff line number Diff line change
Expand Up @@ -817,10 +817,7 @@ ENTRY(purge_kernel_dcache_page)
.procend
ENDPROC(purge_kernel_dcache_page)


.export flush_user_dcache_range_asm

flush_user_dcache_range_asm:
ENTRY(flush_user_dcache_range_asm)
.proc
.callinfo NO_CALLS
.entry
Expand All @@ -839,6 +836,7 @@ flush_user_dcache_range_asm:
.exit

.procend
ENDPROC(flush_user_dcache_range_asm)

ENTRY(flush_kernel_dcache_range_asm)
.proc
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/parisc/kernel/sys_parisc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
6 changes: 6 additions & 0 deletions trunk/arch/parisc/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,12 @@
ENTRY_COMP(recvmmsg)
ENTRY_SAME(accept4) /* 320 */
ENTRY_SAME(prlimit64)
ENTRY_SAME(fanotify_init)
ENTRY_COMP(fanotify_mark)
ENTRY_COMP(clock_adjtime)
ENTRY_SAME(name_to_handle_at) /* 325 */
ENTRY_COMP(open_by_handle_at)
ENTRY_SAME(syncfs)

/* Nothing yet */

Expand Down

0 comments on commit 257fcd1

Please sign in to comment.