diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-03-06 04:24:04 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:57 -0400 |
commit | a7113170214b569d24e413326a56c4cc5cc1a152 (patch) | |
tree | a1821afae04f9fabc3c2ca7cfbca9a778ffdf71c /arch/x86/kernel/signal_32.c | |
parent | c1db29dbc761e9a464b417df7d4dbbae7df81f4c (diff) |
x86: remove DEBUG_SIG
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 | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c index add9c6e9c44d..f4ec6a092951 100644 --- a/arch/x86/kernel/signal_32.c +++ b/arch/x86/kernel/signal_32.c | |||
@@ -26,8 +26,6 @@ | |||
26 | #include <asm/vdso.h> | 26 | #include <asm/vdso.h> |
27 | #include "sigframe.h" | 27 | #include "sigframe.h" |
28 | 28 | ||
29 | #define DEBUG_SIG 0 | ||
30 | |||
31 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | 29 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) |
32 | 30 | ||
33 | #define __FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_OF | \ | 31 | #define __FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_OF | \ |
@@ -412,11 +410,6 @@ static int setup_frame(int sig, struct k_sigaction *ka, | |||
412 | if (test_thread_flag(TIF_SINGLESTEP)) | 410 | if (test_thread_flag(TIF_SINGLESTEP)) |
413 | ptrace_notify(SIGTRAP); | 411 | ptrace_notify(SIGTRAP); |
414 | 412 | ||
415 | #if DEBUG_SIG | ||
416 | printk("SIG deliver (%s:%d): sp=%p pc=%lx ra=%p\n", | ||
417 | current->comm, current->pid, frame, regs->ip, frame->pretcode); | ||
418 | #endif | ||
419 | |||
420 | return 0; | 413 | return 0; |
421 | 414 | ||
422 | give_sigsegv: | 415 | give_sigsegv: |
@@ -505,11 +498,6 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
505 | if (test_thread_flag(TIF_SINGLESTEP)) | 498 | if (test_thread_flag(TIF_SINGLESTEP)) |
506 | ptrace_notify(SIGTRAP); | 499 | ptrace_notify(SIGTRAP); |
507 | 500 | ||
508 | #if DEBUG_SIG | ||
509 | printk("SIG deliver (%s:%d): sp=%p pc=%p ra=%p\n", | ||
510 | current->comm, current->pid, frame, regs->ip, frame->pretcode); | ||
511 | #endif | ||
512 | |||
513 | return 0; | 501 | return 0; |
514 | 502 | ||
515 | give_sigsegv: | 503 | give_sigsegv: |