aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-10-13 20:35:56 -0400
committerKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-10-13 20:35:56 -0400
commitcaf96194c05cd97ce96546fbcb1f35ec06aaaac7 (patch)
treec9349e243e046bc0fe38a4f300a808bc5ddcac41 /arch/parisc
parentc442ef96bfe1a981d44dd09d49a1eed93b94e82a (diff)
downloadkernel_samsung_espresso10-caf96194c05cd97ce96546fbcb1f35ec06aaaac7.zip
kernel_samsung_espresso10-caf96194c05cd97ce96546fbcb1f35ec06aaaac7.tar.gz
kernel_samsung_espresso10-caf96194c05cd97ce96546fbcb1f35ec06aaaac7.tar.bz2
parisc: add prlimit64 syscall
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/asm/unistd.h3
-rw-r--r--arch/parisc/kernel/syscall_table.S1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h
index 1ce7d28..3eb82c2 100644
--- a/arch/parisc/include/asm/unistd.h
+++ b/arch/parisc/include/asm/unistd.h
@@ -813,8 +813,9 @@
#define __NR_perf_event_open (__NR_Linux + 318)
#define __NR_recvmmsg (__NR_Linux + 319)
#define __NR_accept4 (__NR_Linux + 320)
+#define __NR_prlimit64 (__NR_Linux + 321)
-#define __NR_Linux_syscalls (__NR_accept4 + 1)
+#define __NR_Linux_syscalls (__NR_prlimit64 + 1)
#define __IGNORE_select /* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 3d52c97..74867df 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -419,6 +419,7 @@
ENTRY_SAME(perf_event_open)
ENTRY_COMP(recvmmsg)
ENTRY_SAME(accept4) /* 320 */
+ ENTRY_SAME(prlimit64)
/* Nothing yet */