diff options
Diffstat (limited to 'arch/x86/kernel/signal_32.c')
-rw-r--r-- | arch/x86/kernel/signal_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c index 64cb3c05de69..2bf5c9aed106 100644 --- a/arch/x86/kernel/signal_32.c +++ b/arch/x86/kernel/signal_32.c | |||
@@ -605,8 +605,8 @@ static void fastcall do_signal(struct pt_regs *regs) | |||
605 | * have been cleared if the watchpoint triggered | 605 | * have been cleared if the watchpoint triggered |
606 | * inside the kernel. | 606 | * inside the kernel. |
607 | */ | 607 | */ |
608 | if (unlikely(current->thread.debugreg[7])) | 608 | if (unlikely(current->thread.debugreg7)) |
609 | set_debugreg(current->thread.debugreg[7], 7); | 609 | set_debugreg(current->thread.debugreg7, 7); |
610 | 610 | ||
611 | /* Whee! Actually deliver the signal. */ | 611 | /* Whee! Actually deliver the signal. */ |
612 | if (handle_signal(signr, &info, &ka, oldset, regs) == 0) { | 612 | if (handle_signal(signr, &info, &ka, oldset, regs) == 0) { |