|
@@ -628,7 +628,13 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+#ifdef CONFIG_X86_32
|
|
|
#define NR_restart_syscall __NR_restart_syscall
|
|
|
+#else /* !CONFIG_X86_32 */
|
|
|
+#define NR_restart_syscall \
|
|
|
+ test_thread_flag(TIF_IA32) ? __NR_ia32_restart_syscall : __NR_restart_syscall
|
|
|
+#endif /* CONFIG_X86_32 */
|
|
|
+
|
|
|
/*
|
|
|
* Note that 'init' is a special process: it doesn't get signals it doesn't
|
|
|
* want to handle. Thus you cannot kill init even with a SIGKILL even by
|