diff options
Diffstat (limited to 'arch/microblaze/lib')
-rw-r--r-- | arch/microblaze/lib/uaccess_old.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/microblaze/lib/uaccess_old.S b/arch/microblaze/lib/uaccess_old.S index 5810cec54a7a..5b6d69e07968 100644 --- a/arch/microblaze/lib/uaccess_old.S +++ b/arch/microblaze/lib/uaccess_old.S | |||
@@ -119,7 +119,7 @@ __copy_tofrom_user: | |||
119 | * r7, r3 - count | 119 | * r7, r3 - count |
120 | * r4 - tempval | 120 | * r4 - tempval |
121 | */ | 121 | */ |
122 | beqid r7, 3f /* zero size is not likely */ | 122 | beqid r7, 0f /* zero size is not likely */ |
123 | andi r3, r7, 0x3 /* filter add count */ | 123 | andi r3, r7, 0x3 /* filter add count */ |
124 | bneid r3, 4f /* if is odd value then byte copying */ | 124 | bneid r3, 4f /* if is odd value then byte copying */ |
125 | or r3, r5, r6 /* find if is any to/from unaligned */ | 125 | or r3, r5, r6 /* find if is any to/from unaligned */ |
@@ -142,11 +142,11 @@ __copy_tofrom_user: | |||
142 | addik r7,r7,-1 | 142 | addik r7,r7,-1 |
143 | bneid r7,1b | 143 | bneid r7,1b |
144 | addik r3,r3,1 /* delay slot */ | 144 | addik r3,r3,1 /* delay slot */ |
145 | 3: | 145 | 0: |
146 | addik r3,r7,0 | 146 | addik r3,r7,0 |
147 | rtsd r15,8 | 147 | rtsd r15,8 |
148 | nop | 148 | nop |
149 | .size __copy_tofrom_user, . - __copy_tofrom_user | 149 | .size __copy_tofrom_user, . - __copy_tofrom_user |
150 | 150 | ||
151 | .section __ex_table,"a" | 151 | .section __ex_table,"a" |
152 | .word 1b,3b,2b,3b,5b,3b,6b,3b | 152 | .word 1b,0b,2b,0b,5b,0b,6b,0b |