diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2007-03-17 11:17:31 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-05-22 22:42:59 -0400 |
commit | fd3eef10f5a55acdefbd3f53ca7618a35cb6231f (patch) | |
tree | 3cd23432b8967230fa45ddd30f47cbbdb91d6219 | |
parent | 034a15bfef7f52b4f1ff928b9a06d993969857db (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.S | 1 | ||||
-rw-r--r-- | include/asm-parisc/unistd.h | 3 |
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 @@ | |||
400 | ENTRY_SAME(epoll_pwait) | 400 | ENTRY_SAME(epoll_pwait) |
401 | ENTRY_COMP(statfs64) | 401 | ENTRY_COMP(statfs64) |
402 | ENTRY_COMP(fstatfs64) | 402 | ENTRY_COMP(fstatfs64) |
403 | ENTRY_COMP(kexec_load) /* 300 */ | ||
403 | /* Nothing yet */ | 404 | /* Nothing yet */ |
404 | 405 | ||
405 | #undef ENTRY_SAME | 406 | #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 @@ | |||
792 | #define __NR_epoll_pwait (__NR_Linux + 297) | 792 | #define __NR_epoll_pwait (__NR_Linux + 297) |
793 | #define __NR_statfs64 (__NR_Linux + 298) | 793 | #define __NR_statfs64 (__NR_Linux + 298) |
794 | #define __NR_fstatfs64 (__NR_Linux + 299) | 794 | #define __NR_fstatfs64 (__NR_Linux + 299) |
795 | #define __NR_kexec_load (__NR_Linux + 300) | ||
795 | 796 | ||
796 | #define __NR_Linux_syscalls (__NR_fstatfs64 + 1) | 797 | #define __NR_Linux_syscalls (__NR_kexec_load + 1) |
797 | 798 | ||
798 | #define HPUX_GATEWAY_ADDR 0xC0000004 | 799 | #define HPUX_GATEWAY_ADDR 0xC0000004 |
799 | #define LINUX_GATEWAY_ADDR 0x100 | 800 | #define LINUX_GATEWAY_ADDR 0x100 |