summaryrefslogtreecommitdiff
path: root/arch/microblaze/lib
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-06-10 11:03:44 +0200
committerMichal Simek <monstr@monstr.eu>2011-10-14 12:24:21 +0200
commit9b133f8d87a460e97b63efbf421a87741a029cd0 (patch)
tree7e2e5919af020a7130ab133f89035b6326e406a4 /arch/microblaze/lib
parent9c6f6f549f46940c2d48eb9618d9d0fe471c5151 (diff)
microblaze: Change label name in copy_tofrom_user
Use label 0: for zero length copying and fixups. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/lib')
-rw-r--r--arch/microblaze/lib/uaccess_old.S6
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:
* r7, r3 - count
* r4 - tempval
*/
- beqid r7, 3f /* zero size is not likely */
+ beqid r7, 0f /* zero size is not likely */
andi r3, r7, 0x3 /* filter add count */
bneid r3, 4f /* if is odd value then byte copying */
or r3, r5, r6 /* find if is any to/from unaligned */
@@ -142,11 +142,11 @@ __copy_tofrom_user:
addik r7,r7,-1
bneid r7,1b
addik r3,r3,1 /* delay slot */
-3:
+0:
addik r3,r7,0
rtsd r15,8
nop
.size __copy_tofrom_user, . - __copy_tofrom_user
.section __ex_table,"a"
- .word 1b,3b,2b,3b,5b,3b,6b,3b
+ .word 1b,0b,2b,0b,5b,0b,6b,0b