diff options
| -rw-r--r-- | arch/microblaze/lib/uaccess_old.S | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/microblaze/lib/uaccess_old.S b/arch/microblaze/lib/uaccess_old.S index 5b6d69e07968..bacfedc3c7dd 100644 --- a/arch/microblaze/lib/uaccess_old.S +++ b/arch/microblaze/lib/uaccess_old.S | |||
| @@ -136,6 +136,12 @@ __copy_tofrom_user: | |||
| 136 | addik r3, r7, 0 | 136 | addik r3, r7, 0 |
| 137 | rtsd r15, 8 | 137 | rtsd r15, 8 |
| 138 | nop | 138 | nop |
| 139 | |||
| 140 | .section __ex_table,"a" | ||
| 141 | .word 5b, 0f; | ||
| 142 | .word 6b, 0f; | ||
| 143 | .text | ||
| 144 | |||
| 139 | 4: or r3, r0, r0 | 145 | 4: or r3, r0, r0 |
| 140 | 1: lbu r4,r6,r3 | 146 | 1: lbu r4,r6,r3 |
| 141 | 2: sb r4,r5,r3 | 147 | 2: sb r4,r5,r3 |
| @@ -149,4 +155,6 @@ __copy_tofrom_user: | |||
| 149 | .size __copy_tofrom_user, . - __copy_tofrom_user | 155 | .size __copy_tofrom_user, . - __copy_tofrom_user |
| 150 | 156 | ||
| 151 | .section __ex_table,"a" | 157 | .section __ex_table,"a" |
| 152 | .word 1b,0b,2b,0b,5b,0b,6b,0b | 158 | .word 1b, 0b; |
| 159 | .word 2b, 0b; | ||
| 160 | .text | ||
