summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2007-03-17 11:17:31 -0400
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-05-22 22:42:59 -0400
commitfd3eef10f5a55acdefbd3f53ca7618a35cb6231f (patch)
tree3cd23432b8967230fa45ddd30f47cbbdb91d6219
parent034a15bfef7f52b4f1ff928b9a06d993969857db (diff)
[PARISC] Wire up kexec_load syscall
Definitely unimplemented at this point and will just trap to sys_ni_syscall... Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r--arch/parisc/kernel/syscall_table.S1
-rw-r--r--include/asm-parisc/unistd.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 9323f4d64e1c..7e04db6b725a 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -400,6 +400,7 @@
ENTRY_SAME(epoll_pwait)
ENTRY_COMP(statfs64)
ENTRY_COMP(fstatfs64)
+ ENTRY_COMP(kexec_load) /* 300 */
/* Nothing yet */
#undef ENTRY_SAME
diff --git a/include/asm-parisc/unistd.h b/include/asm-parisc/unistd.h
index 2f7c40861c91..693743f9a304 100644
--- a/include/asm-parisc/unistd.h
+++ b/include/asm-parisc/unistd.h
@@ -792,8 +792,9 @@
#define __NR_epoll_pwait (__NR_Linux + 297)
#define __NR_statfs64 (__NR_Linux + 298)
#define __NR_fstatfs64 (__NR_Linux + 299)
+#define __NR_kexec_load (__NR_Linux + 300)
-#define __NR_Linux_syscalls (__NR_fstatfs64 + 1)
+#define __NR_Linux_syscalls (__NR_kexec_load + 1)
#define HPUX_GATEWAY_ADDR 0xC0000004
#define LINUX_GATEWAY_ADDR 0x100