diff options
author | Stuart Menefy <stuart.menefy@st.com> | 2007-02-23 13:22:17 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-03-05 14:13:25 +0900 |
commit | 9432f96803139adaff0cd9f4fa38b7fb99cda366 (patch) | |
tree | e2006ca8390dc4c8b14d08c658ccd5bfd80d401e /arch/sh/kernel/entry-common.S | |
parent | 20b0f65d35ae45d43f363ace3744a775a752d265 (diff) | |
download | talos-obmc-linux-9432f96803139adaff0cd9f4fa38b7fb99cda366.tar.gz talos-obmc-linux-9432f96803139adaff0cd9f4fa38b7fb99cda366.zip |
sh: Clear UBC when not in use.
This takes care of tearing down the UBC so it's not inadvertently
left configured at the next context switch time. Failure to do
this results in spurious SIGTRAPs in certain debug sequences.
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/entry-common.S')
-rw-r--r-- | arch/sh/kernel/entry-common.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index ab4ebb856c2a..b46728027195 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S @@ -224,7 +224,7 @@ work_resched: syscall_exit_work: ! r0: current_thread_info->flags ! r8: current_thread_info - tst #_TIF_SYSCALL_TRACE, r0 + tst #_TIF_SYSCALL_TRACE | _TIF_SINGLESTEP, r0 bt/s work_pending tst #_TIF_NEED_RESCHED, r0 #ifdef CONFIG_TRACE_IRQFLAGS |