diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-07-18 06:19:57 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-07-18 06:20:01 -0400 |
| commit | 45bceffc3013bda7d2ebc7802e9b153b674e2d44 (patch) | |
| tree | 222d7dd8fd300925cbf12cdc0fba5bee2528997e /arch/powerpc/kernel/vector.S | |
| parent | 6f2f3cf00ee32f75ba007a46bab88a54d68a5deb (diff) | |
| parent | 78af08d90b8f745044b1274430bc4bc6b2b27aca (diff) | |
Merge branch 'linus' into tracing/core
Merge reason: tracing/core was on an older, pre-rc1 base.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/kernel/vector.S')
| -rw-r--r-- | arch/powerpc/kernel/vector.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/vector.S b/arch/powerpc/kernel/vector.S index ef36cbbc5882..ea4d64644d02 100644 --- a/arch/powerpc/kernel/vector.S +++ b/arch/powerpc/kernel/vector.S | |||
| @@ -80,10 +80,10 @@ _GLOBAL(load_up_altivec) | |||
| 80 | mtvscr vr0 | 80 | mtvscr vr0 |
| 81 | REST_32VRS(0,r4,r5) | 81 | REST_32VRS(0,r4,r5) |
| 82 | #ifndef CONFIG_SMP | 82 | #ifndef CONFIG_SMP |
| 83 | /* Update last_task_used_math to 'current' */ | 83 | /* Update last_task_used_altivec to 'current' */ |
| 84 | subi r4,r5,THREAD /* Back to 'current' */ | 84 | subi r4,r5,THREAD /* Back to 'current' */ |
| 85 | fromreal(r4) | 85 | fromreal(r4) |
| 86 | PPC_STL r4,ADDROFF(last_task_used_math)(r3) | 86 | PPC_STL r4,ADDROFF(last_task_used_altivec)(r3) |
| 87 | #endif /* CONFIG_SMP */ | 87 | #endif /* CONFIG_SMP */ |
| 88 | /* restore registers and return */ | 88 | /* restore registers and return */ |
| 89 | blr | 89 | blr |
| @@ -172,7 +172,7 @@ _GLOBAL(load_up_vsx) | |||
| 172 | oris r12,r12,MSR_VSX@h | 172 | oris r12,r12,MSR_VSX@h |
| 173 | std r12,_MSR(r1) | 173 | std r12,_MSR(r1) |
| 174 | #ifndef CONFIG_SMP | 174 | #ifndef CONFIG_SMP |
| 175 | /* Update last_task_used_math to 'current' */ | 175 | /* Update last_task_used_vsx to 'current' */ |
| 176 | ld r4,PACACURRENT(r13) | 176 | ld r4,PACACURRENT(r13) |
| 177 | std r4,0(r3) | 177 | std r4,0(r3) |
| 178 | #endif /* CONFIG_SMP */ | 178 | #endif /* CONFIG_SMP */ |
