summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
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 /include/asm-ia64
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 'include/asm-ia64')
-rw-r--r--include/asm-ia64/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ia64/unistd.h b/include/asm-ia64/unistd.h
index 53c5c0ee122c..a9e1fa4cac4d 100644
--- a/include/asm-ia64/unistd.h
+++ b/include/asm-ia64/unistd.h
@@ -291,11 +291,13 @@
#define __NR_sync_file_range 1300
#define __NR_tee 1301
#define __NR_vmsplice 1302
+/* 1303 reserved for move_pages */
+#define __NR_getcpu 1304
#ifdef __KERNEL__
-#define NR_syscalls 279 /* length of syscall table */
+#define NR_syscalls 281 /* length of syscall table */
#define __ARCH_WANT_SYS_RT_SIGACTION