Skip to content

Commit

Permalink
microblaze: Separate fixup section definition
Browse files Browse the repository at this point in the history
Move fixups below appropriate code.

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

0 comments on commit eedac79

Please sign in to comment.