mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
[IA64] Hook up getcpu system call for IA64
getcpu system call returns cpu# and node# on which this system call and its caller are running. This patch hooks up its implementation on IA64. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
524fd988bb
commit
86afa9eb88
2 changed files with 5 additions and 1 deletions
|
@ -1610,5 +1610,7 @@ sys_call_table:
|
||||||
data8 sys_sync_file_range // 1300
|
data8 sys_sync_file_range // 1300
|
||||||
data8 sys_tee
|
data8 sys_tee
|
||||||
data8 sys_vmsplice
|
data8 sys_vmsplice
|
||||||
|
data8 sys_ni_syscall // reserved for move_pages
|
||||||
|
data8 sys_getcpu
|
||||||
|
|
||||||
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
|
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
|
||||||
|
|
|
@ -291,11 +291,13 @@
|
||||||
#define __NR_sync_file_range 1300
|
#define __NR_sync_file_range 1300
|
||||||
#define __NR_tee 1301
|
#define __NR_tee 1301
|
||||||
#define __NR_vmsplice 1302
|
#define __NR_vmsplice 1302
|
||||||
|
/* 1303 reserved for move_pages */
|
||||||
|
#define __NR_getcpu 1304
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
|
|
||||||
#define NR_syscalls 279 /* length of syscall table */
|
#define NR_syscalls 281 /* length of syscall table */
|
||||||
|
|
||||||
#define __ARCH_WANT_SYS_RT_SIGACTION
|
#define __ARCH_WANT_SYS_RT_SIGACTION
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue