diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-02-15 14:49:37 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-15 14:49:37 +0900 |
commit | 028c5d5d596651bce13d06737eb3707a7e99a30c (patch) | |
tree | e4e429858a19635ad2b5aa563bf1b4e39396d4e2 /arch/sh/kernel/signal_64.c | |
parent | 19f6b8b44e3f633d5d7d1ed68848b1eb89a1e800 (diff) | |
parent | 4b505db9c4c72dbd2a8e66b8d681640101325af6 (diff) | |
download | linux-028c5d5d596651bce13d06737eb3707a7e99a30c.tar.bz2 |
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; } } |