summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2007-02-06 01:07:57 +0100
committerTony Luck <tony.luck@intel.com>2007-02-06 01:56:36 +0100
commit86afa9eb88af2248bcc91d5b3568c63fdea65d6c (patch)
tree60f74dec7825324bbaaf2ac46792ea0948b6a989 /arch
parent[IA64] clean up sparsemem memory_present call (diff)
downloadlinux-86afa9eb88af2248bcc91d5b3568c63fdea65d6c.tar.xz
linux-86afa9eb88af2248bcc91d5b3568c63fdea65d6c.zip
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kernel/entry.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
index 15234ed3a341..e7873eeae448 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -1610,5 +1610,7 @@ sys_call_table:
data8 sys_sync_file_range // 1300
data8 sys_tee
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