diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-02-15 06:49:37 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-15 06:49:37 +0100 |
commit | 028c5d5d596651bce13d06737eb3707a7e99a30c (patch) | |
tree | e4e429858a19635ad2b5aa563bf1b4e39396d4e2 /arch/sh/kernel/signal_64.c | |
parent | sh64: fix up memory offset calculation. (diff) | |
parent | sh64: fix tracing of signals. (diff) | |
download | linux-028c5d5d596651bce13d06737eb3707a7e99a30c.tar.xz linux-028c5d5d596651bce13d06737eb3707a7e99a30c.zip |
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/sh/kernel/signal_64.c')
-rw-r--r-- | arch/sh/kernel/signal_64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index 4733bfc59d39..5a9f1f10ebf4 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c @@ -118,7 +118,9 @@ static int do_signal(struct pt_regs *regs, sigset_t *oldset) * clear the TS_RESTORE_SIGMASK flag. */ current_thread_info()->status &= ~TS_RESTORE_SIGMASK; - tracehook_signal_handler(signr, &info, &ka, regs, 0); + + tracehook_signal_handler(signr, &info, &ka, regs, + test_thread_flag(TIF_SINGLESTEP)); return 1; } } |