]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Clear UBC when not in use.
authorStuart Menefy <stuart.menefy@st.com>
Fri, 23 Feb 2007 04:22:17 +0000 (13:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 5 Mar 2007 05:13:25 +0000 (14:13 +0900)
commit9432f96803139adaff0cd9f4fa38b7fb99cda366
treee2006ca8390dc4c8b14d08c658ccd5bfd80d401e
parent20b0f65d35ae45d43f363ace3744a775a752d265
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>
arch/sh/kernel/entry-common.S
arch/sh/kernel/ptrace.c
include/asm-sh/thread_info.h