Skip to content

Commit

Permalink
microblaze: Change label name in copy_tofrom_user
Browse files Browse the repository at this point in the history
Use label 0: for zero length copying and fixups.

Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed Oct 14, 2011
1 parent 9c6f6f5 commit 9b133f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/microblaze/lib/uaccess_old.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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

0 comments on commit 9b133f8

Please sign in to comment.