Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119046
b: refs/heads/master
c: 5d52013
h: refs/heads/master
v: v3
  • Loading branch information
Stuart MENEFY authored and Paul Mundt committed Nov 13, 2008
1 parent 242dc88 commit 696a300
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2cd0ebc83d771220eeddec91fd6d4cfefc2cc46e
refs/heads/master: 5d52013cbb3d39bde9f5a6023193058eeb112e98
11 changes: 8 additions & 3 deletions trunk/arch/sh/lib/copy_page.S
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ ENTRY(copy_page)
.section __ex_table, "a"; \
.long 9999b, 6000f ; \
.previous
#define EX_NO_POP(...) \
9999: __VA_ARGS__ ; \
.section __ex_table, "a"; \
.long 9999b, 6005f ; \
.previous
ENTRY(__copy_user)
! Check if small number of bytes
mov #11,r0
Expand Down Expand Up @@ -139,9 +144,9 @@ EX( mov.b r1,@r4 )
bt 1f

2:
EX( mov.b @r5+,r0 )
EX_NO_POP( mov.b @r5+,r0 )
dt r6
EX( mov.b r0,@r4 )
EX_NO_POP( mov.b r0,@r4 )
bf/s 2b
add #1,r4

Expand All @@ -150,7 +155,7 @@ EX( mov.b r0,@r4 )

# Exception handler:
.section .fixup, "ax"
6000:
6005:
mov.l 8000f,r1
mov r3,r0
jmp @r1
Expand Down

0 comments on commit 696a300

Please sign in to comment.