summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/windows.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-09-08 20:57:59 -0700
committerDavid S. Miller <davem@davemloft.net>2010-09-08 20:57:59 -0700
commitb19f8200392db88d529576a4f8178d08b70047be (patch)
treefcfdbc9de62c614e2ccdc8adcab021aaa60bbb5c /arch/sparc/kernel/windows.c
parent25edd6946a1d74e5e77813c2324a0908c68bcf9e (diff)
sparc: Kill all BKL usage.
They were all bogus artifacts and completely unnecessary. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/windows.c')
-rw-r--r--arch/sparc/kernel/windows.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/windows.c b/arch/sparc/kernel/windows.c
index f24d298bda2..b351770cbdd 100644
--- a/arch/sparc/kernel/windows.c
+++ b/arch/sparc/kernel/windows.c
@@ -112,7 +112,6 @@ void try_to_clear_window_buffer(struct pt_regs *regs, int who)
struct thread_info *tp = current_thread_info();
int window;
- lock_kernel();
flush_user_windows();
for(window = 0; window < tp->w_saved; window++) {
unsigned long sp = tp->rwbuf_stkptrs[window];
@@ -123,5 +122,4 @@ void try_to_clear_window_buffer(struct pt_regs *regs, int who)
do_exit(SIGILL);
}
tp->w_saved = 0;
- unlock_kernel();
}