diff options
author | Michal Simek <monstr@monstr.eu> | 2011-06-10 05:03:44 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-10-14 06:24:21 -0400 |
commit | 9b133f8d87a460e97b63efbf421a87741a029cd0 (patch) | |
tree | 7e2e5919af020a7130ab133f89035b6326e406a4 | |
parent | 9c6f6f549f46940c2d48eb9618d9d0fe471c5151 (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>
-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 |