diff options
Diffstat (limited to 'arch/powerpc/lib/copyuser_64.S')
-rw-r--r-- | arch/powerpc/lib/copyuser_64.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/lib/copyuser_64.S b/arch/powerpc/lib/copyuser_64.S index a6b54cb97c49..25ec5378afa4 100644 --- a/arch/powerpc/lib/copyuser_64.S +++ b/arch/powerpc/lib/copyuser_64.S | |||
@@ -24,7 +24,7 @@ _GLOBAL(__copy_tofrom_user) | |||
24 | dcbt 0,r4 | 24 | dcbt 0,r4 |
25 | beq .Lcopy_page_4K | 25 | beq .Lcopy_page_4K |
26 | andi. r6,r6,7 | 26 | andi. r6,r6,7 |
27 | mtcrf 0x01,r5 | 27 | PPC_MTOCRF 0x01,r5 |
28 | blt cr1,.Lshort_copy | 28 | blt cr1,.Lshort_copy |
29 | bne .Ldst_unaligned | 29 | bne .Ldst_unaligned |
30 | .Ldst_aligned: | 30 | .Ldst_aligned: |
@@ -135,7 +135,7 @@ _GLOBAL(__copy_tofrom_user) | |||
135 | b .Ldo_tail | 135 | b .Ldo_tail |
136 | 136 | ||
137 | .Ldst_unaligned: | 137 | .Ldst_unaligned: |
138 | mtcrf 0x01,r6 /* put #bytes to 8B bdry into cr7 */ | 138 | PPC_MTOCRF 0x01,r6 /* put #bytes to 8B bdry into cr7 */ |
139 | subf r5,r6,r5 | 139 | subf r5,r6,r5 |
140 | li r7,0 | 140 | li r7,0 |
141 | cmpldi r1,r5,16 | 141 | cmpldi r1,r5,16 |
@@ -150,7 +150,7 @@ _GLOBAL(__copy_tofrom_user) | |||
150 | 2: bf cr7*4+1,3f | 150 | 2: bf cr7*4+1,3f |
151 | 37: lwzx r0,r7,r4 | 151 | 37: lwzx r0,r7,r4 |
152 | 83: stwx r0,r7,r3 | 152 | 83: stwx r0,r7,r3 |
153 | 3: mtcrf 0x01,r5 | 153 | 3: PPC_MTOCRF 0x01,r5 |
154 | add r4,r6,r4 | 154 | add r4,r6,r4 |
155 | add r3,r6,r3 | 155 | add r3,r6,r3 |
156 | b .Ldst_aligned | 156 | b .Ldst_aligned |