瀏覽代碼

[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>
Kyle McMartin 18 年之前
父節點
當前提交
fd3eef10f5
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 0
      arch/parisc/kernel/syscall_table.S
  2. 2 1
      include/asm-parisc/unistd.h

+ 1 - 0
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

+ 2 - 1
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