diff options
author | Paul Mackerras <paulus@samba.org> | 2007-09-13 11:24:25 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-09-13 11:24:25 -0400 |
commit | b2315372eac9cd9f622c32a93e323cf6f0f03462 (patch) | |
tree | 9e1faa7cdcddf5d90bec4fb9523742d4cce699a1 /arch/powerpc/kernel/process.c | |
parent | 5326152fa182b0a16e4abf913ce403e3c7ab53b7 (diff) | |
parent | c87ce65868bbf9bbea9c3f112ff8315302daf8f2 (diff) |
Merge branch 'linux-2.6' into for-2.6.24
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index a83727b308a0..e477c9d0498b 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -83,7 +83,7 @@ void flush_fp_to_thread(struct task_struct *tsk) | |||
83 | */ | 83 | */ |
84 | BUG_ON(tsk != current); | 84 | BUG_ON(tsk != current); |
85 | #endif | 85 | #endif |
86 | giveup_fpu(current); | 86 | giveup_fpu(tsk); |
87 | } | 87 | } |
88 | preempt_enable(); | 88 | preempt_enable(); |
89 | } | 89 | } |
@@ -143,7 +143,7 @@ void flush_altivec_to_thread(struct task_struct *tsk) | |||
143 | #ifdef CONFIG_SMP | 143 | #ifdef CONFIG_SMP |
144 | BUG_ON(tsk != current); | 144 | BUG_ON(tsk != current); |
145 | #endif | 145 | #endif |
146 | giveup_altivec(current); | 146 | giveup_altivec(tsk); |
147 | } | 147 | } |
148 | preempt_enable(); | 148 | preempt_enable(); |
149 | } | 149 | } |
@@ -182,7 +182,7 @@ void flush_spe_to_thread(struct task_struct *tsk) | |||
182 | #ifdef CONFIG_SMP | 182 | #ifdef CONFIG_SMP |
183 | BUG_ON(tsk != current); | 183 | BUG_ON(tsk != current); |
184 | #endif | 184 | #endif |
185 | giveup_spe(current); | 185 | giveup_spe(tsk); |
186 | } | 186 | } |
187 | preempt_enable(); | 187 | preempt_enable(); |
188 | } | 188 | } |