diff options
author | Tony Luck <tony.luck@intel.com> | 2010-08-12 14:56:57 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-08-13 23:55:51 -0400 |
commit | a78b2de1e47b66c0f7525057652e99d1592ec77b (patch) | |
tree | 61706ac1bfcaef5d3c6486277d62dfa565e35c47 | |
parent | 01d69a82e1d3c938da16bf55aab000672243aa24 (diff) |
[IA64] Add latest crop of syscalls
Three new syscalls for 2.6.36: prlimit64, fanotify_init and
fanotify_mark. Wire up the ia64 syscall table for them.
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/include/asm/unistd.h | 5 | ||||
-rw-r--r-- | arch/ia64/kernel/entry.S | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index bb8b0fff32b3..637e90f11d85 100644 --- a/arch/ia64/include/asm/unistd.h +++ b/arch/ia64/include/asm/unistd.h | |||
@@ -312,11 +312,14 @@ | |||
312 | #define __NR_pwritev 1320 | 312 | #define __NR_pwritev 1320 |
313 | #define __NR_rt_tgsigqueueinfo 1321 | 313 | #define __NR_rt_tgsigqueueinfo 1321 |
314 | #define __NR_recvmmsg 1322 | 314 | #define __NR_recvmmsg 1322 |
315 | #define __NR_fanotify_init 1323 | ||
316 | #define __NR_fanotify_mark 1324 | ||
317 | #define __NR_prlimit64 1325 | ||
315 | 318 | ||
316 | #ifdef __KERNEL__ | 319 | #ifdef __KERNEL__ |
317 | 320 | ||
318 | 321 | ||
319 | #define NR_syscalls 299 /* length of syscall table */ | 322 | #define NR_syscalls 302 /* length of syscall table */ |
320 | 323 | ||
321 | /* | 324 | /* |
322 | * The following defines stop scripts/checksyscalls.sh from complaining about | 325 | * The following defines stop scripts/checksyscalls.sh from complaining about |
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 9a260b317d8d..244704a174de 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1768,6 +1768,9 @@ sys_call_table: | |||
1768 | data8 sys_pwritev // 1320 | 1768 | data8 sys_pwritev // 1320 |
1769 | data8 sys_rt_tgsigqueueinfo | 1769 | data8 sys_rt_tgsigqueueinfo |
1770 | data8 sys_recvmmsg | 1770 | data8 sys_recvmmsg |
1771 | data8 sys_fanotify_init | ||
1772 | data8 sys_fanotify_mark | ||
1773 | data8 sys_prlimit64 // 1325 | ||
1771 | 1774 | ||
1772 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls | 1775 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls |
1773 | #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */ | 1776 | #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */ |