summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-06-10 11:05:45 +0200
committerMichal Simek <monstr@monstr.eu>2011-10-14 12:24:22 +0200
commiteedac7914dd4d6effa0b970a36efd898c9fc4873 (patch)
tree5109bf8d736c9e86f72cd01e2e7902b6887528cb /arch/microblaze
parent9b133f8d87a460e97b63efbf421a87741a029cd0 (diff)
downloadblackbird-op-linux-eedac7914dd4d6effa0b970a36efd898c9fc4873.tar.gz
blackbird-op-linux-eedac7914dd4d6effa0b970a36efd898c9fc4873.zip
microblaze: Separate fixup section definition
Move fixups below appropriate code. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/lib/uaccess_old.S10
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:
addik r3, r7, 0
rtsd r15, 8
nop
+
+ .section __ex_table,"a"
+ .word 5b, 0f;
+ .word 6b, 0f;
+ .text
+
4: or r3, r0, r0
1: lbu r4,r6,r3
2: sb r4,r5,r3
@@ -149,4 +155,6 @@ __copy_tofrom_user:
.size __copy_tofrom_user, . - __copy_tofrom_user
.section __ex_table,"a"
- .word 1b,0b,2b,0b,5b,0b,6b,0b
+ .word 1b, 0b;
+ .word 2b, 0b;
+ .text
OpenPOWER on IntegriCloud