diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-09-05 16:27:39 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-06 14:54:02 +0200 |
commit | 8fcd8e20f388d787f6abf701b11037b122029d5b (patch) | |
tree | 72a4b396864b72322cd047e73ff473832f09229b /arch/x86/kernel/signal_32.c | |
parent | 72fa50f4ef9014f4212945b766af84ea94308903 (diff) | |
download | linux-stable-8fcd8e20f388d787f6abf701b11037b122029d5b.tar.gz linux-stable-8fcd8e20f388d787f6abf701b11037b122029d5b.tar.bz2 linux-stable-8fcd8e20f388d787f6abf701b11037b122029d5b.zip |
x86: signal: make NR_restart_syscall
make NR_restart_syscall macro for cosmetic unification of handle_signal().
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/signal_32.c')
-rw-r--r-- | arch/x86/kernel/signal_32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c index 76d05d703845..bd9b65031a9a 100644 --- a/arch/x86/kernel/signal_32.c +++ b/arch/x86/kernel/signal_32.c @@ -572,6 +572,7 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka, return 0; } +#define NR_restart_syscall __NR_restart_syscall /* * 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 @@ -635,7 +636,7 @@ static void do_signal(struct pt_regs *regs) break; case -ERESTART_RESTARTBLOCK: - regs->ax = __NR_restart_syscall; + regs->ax = NR_restart_syscall; regs->ip -= 2; break; } |