diff options
Diffstat (limited to 'arch/ppc/kernel/head.S')
-rw-r--r-- | arch/ppc/kernel/head.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc/kernel/head.S b/arch/ppc/kernel/head.S index 1960fb8c259c..d05509f197d0 100644 --- a/arch/ppc/kernel/head.S +++ b/arch/ppc/kernel/head.S | |||
@@ -804,7 +804,7 @@ load_up_altivec: | |||
804 | beq 1f | 804 | beq 1f |
805 | add r4,r4,r6 | 805 | add r4,r4,r6 |
806 | addi r4,r4,THREAD /* want THREAD of last_task_used_altivec */ | 806 | addi r4,r4,THREAD /* want THREAD of last_task_used_altivec */ |
807 | SAVE_32VR(0,r10,r4) | 807 | SAVE_32VRS(0,r10,r4) |
808 | mfvscr vr0 | 808 | mfvscr vr0 |
809 | li r10,THREAD_VSCR | 809 | li r10,THREAD_VSCR |
810 | stvx vr0,r10,r4 | 810 | stvx vr0,r10,r4 |
@@ -824,7 +824,7 @@ load_up_altivec: | |||
824 | stw r4,THREAD_USED_VR(r5) | 824 | stw r4,THREAD_USED_VR(r5) |
825 | lvx vr0,r10,r5 | 825 | lvx vr0,r10,r5 |
826 | mtvscr vr0 | 826 | mtvscr vr0 |
827 | REST_32VR(0,r10,r5) | 827 | REST_32VRS(0,r10,r5) |
828 | #ifndef CONFIG_SMP | 828 | #ifndef CONFIG_SMP |
829 | subi r4,r5,THREAD | 829 | subi r4,r5,THREAD |
830 | sub r4,r4,r6 | 830 | sub r4,r4,r6 |
@@ -870,7 +870,7 @@ giveup_altivec: | |||
870 | addi r3,r3,THREAD /* want THREAD of task */ | 870 | addi r3,r3,THREAD /* want THREAD of task */ |
871 | lwz r5,PT_REGS(r3) | 871 | lwz r5,PT_REGS(r3) |
872 | cmpwi 0,r5,0 | 872 | cmpwi 0,r5,0 |
873 | SAVE_32VR(0, r4, r3) | 873 | SAVE_32VRS(0, r4, r3) |
874 | mfvscr vr0 | 874 | mfvscr vr0 |
875 | li r4,THREAD_VSCR | 875 | li r4,THREAD_VSCR |
876 | stvx vr0,r4,r3 | 876 | stvx vr0,r4,r3 |