diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-30 19:56:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-30 19:56:44 -0400 |
commit | 7c0f488fbed7e498043f26de42c89c00855028c1 (patch) | |
tree | f480704f6547d70ba03409a8e68fbee68ff7aa12 | |
parent | 8a28d67457b613258aa0578ccece206d166f2b9f (diff) | |
parent | d305c4773458fdd6ff9c52bfdea8c67fbd3b2072 (diff) |
Merge tag 'please-pull-syscalls' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
Pull ia64 kcmp syscall from Tony Luck:
"Missed adding the kcmp() syscall a long time ago. Now it seems that
it is essential to build systemd"
* tag 'please-pull-syscalls' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
[IA64] Wire up kcmp syscall
-rw-r--r-- | arch/ia64/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/uapi/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/entry.S | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index 99c96a5e6016..db73390568c8 100644 --- a/arch/ia64/include/asm/unistd.h +++ b/arch/ia64/include/asm/unistd.h | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | 12 | ||
13 | 13 | ||
14 | #define NR_syscalls 321 /* length of syscall table */ | 14 | #define NR_syscalls 322 /* length of syscall table */ |
15 | 15 | ||
16 | /* | 16 | /* |
17 | * The following defines stop scripts/checksyscalls.sh from complaining about | 17 | * The following defines stop scripts/checksyscalls.sh from complaining about |
diff --git a/arch/ia64/include/uapi/asm/unistd.h b/arch/ia64/include/uapi/asm/unistd.h index 98e94e19a5a0..9038726e7d26 100644 --- a/arch/ia64/include/uapi/asm/unistd.h +++ b/arch/ia64/include/uapi/asm/unistd.h | |||
@@ -334,5 +334,6 @@ | |||
334 | #define __NR_execveat 1342 | 334 | #define __NR_execveat 1342 |
335 | #define __NR_userfaultfd 1343 | 335 | #define __NR_userfaultfd 1343 |
336 | #define __NR_membarrier 1344 | 336 | #define __NR_membarrier 1344 |
337 | #define __NR_kcmp 1345 | ||
337 | 338 | ||
338 | #endif /* _UAPI_ASM_IA64_UNISTD_H */ | 339 | #endif /* _UAPI_ASM_IA64_UNISTD_H */ |
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 37cc7a65cd3e..dcd97f84d065 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1770,5 +1770,6 @@ sys_call_table: | |||
1770 | data8 sys_execveat | 1770 | data8 sys_execveat |
1771 | data8 sys_userfaultfd | 1771 | data8 sys_userfaultfd |
1772 | data8 sys_membarrier | 1772 | data8 sys_membarrier |
1773 | data8 sys_kcmp // 1345 | ||
1773 | 1774 | ||
1774 | .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 |