summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith M. Wesolowski <wesolows@foobazco.org>2004-02-23 05:57:00 -0800
committerKeith M. Wesolowski <wesolows@foobazco.org>2004-02-23 05:57:00 -0800
commit87384119190c78d74c5e1256fffa3e5604f515b9 (patch)
tree54fb085bca4ca2d7176e2c71bbbe52ed9e45da4f /include
parentbe758139ef276edd02ef19f52cc5231fe4b01be9 (diff)
[SPARC32]: Small SMP build fixes
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/system.h b/include/asm-sparc/system.h
index a4c7d566e075..2497d51bbc9f 100644
--- a/include/asm-sparc/system.h
+++ b/include/asm-sparc/system.h
@@ -75,7 +75,7 @@ extern void fpsave(unsigned long *fpregs, unsigned long *fsr,
#ifdef CONFIG_SMP
#define SWITCH_ENTER(prv) \
do { \
- if (test_tsk_thread_flag(prv, TIF_USEDFPU) { \
+ if (test_tsk_thread_flag(prv, TIF_USEDFPU)) { \
put_psr(get_psr() | PSR_EF); \
fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \
&(prv)->thread.fpqueue[0], &(prv)->thread.fpqdepth); \