Signed-off-by: Helge Deller <deller@xxxxxx> diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index 5a8997d..0959fcc 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S @@ -55,6 +55,7 @@ #define ENTRY_COMP(_name_) .word sys_##_name_ #endif +99: ENTRY_SAME(restart_syscall) /* 0 */ ENTRY_SAME(exit) ENTRY_SAME(fork_wrapper) @@ -439,6 +440,15 @@ ENTRY_SAME(bpf) ENTRY_COMP(execveat) + +#if defined(CONFIG_64BIT) +.ifne (. - 99b) - (__NR_Linux_syscalls * 8) +#else /* !defined(CONFIG_64BIT) */ +.ifne (. - 99b) - (__NR_Linux_syscalls * 4) +#endif +.error "size of syscall table does not fit value of __NR_Linux_syscalls" +.endif + /* Nothing yet */ #undef ENTRY_SAME -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html