Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131211
b: refs/heads/master
c: 40bdac7
h: refs/heads/master
i:
  131209: 5decb99
  131207: 14d16c3
v: v3
  • Loading branch information
David S. Miller committed Feb 9, 2009
1 parent e85f622 commit 5d09781
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 78 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: 1c2f61d40b691789626489fa947a3e003c9a84be
refs/heads/master: 40bdac7dbc161639a498697f34fbd1ee800e51f4
31 changes: 28 additions & 3 deletions trunk/arch/sparc/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -891,10 +891,35 @@ prom_tba: .xword 0
tlb_type: .word 0 /* Must NOT end up in BSS */
.section ".fixup",#alloc,#execinstr

.globl __ret_efault, __retl_efault
__ret_efault:
.globl __ret_efault, __retl_efault, __ret_one, __retl_one
ENTRY(__ret_efault)
ret
restore %g0, -EFAULT, %o0
__retl_efault:
ENDPROC(__ret_efault)

ENTRY(__retl_efault)
retl
mov -EFAULT, %o0
ENDPROC(__retl_efault)

ENTRY(__retl_one)
retl
mov 1, %o0
ENDPROC(__retl_one)

ENTRY(__ret_one_asi)
wr %g0, ASI_AIUS, %asi
ret
restore %g0, 1, %o0
ENDPROC(__ret_one_asi)

ENTRY(__retl_one_asi)
wr %g0, ASI_AIUS, %asi
retl
mov 1, %o0
ENDPROC(__retl_one_asi)

ENTRY(__retl_o1)
retl
mov %o1, %o0
ENDPROC(__retl_o1)
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/GENbzero.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@

#define EX_ST(x,y) \
98: x,y; \
.section .fixup; \
.align 4; \
99: retl; \
mov %o1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_o1; \
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/GENcopy_from_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@

#define EX_LD(x) \
98: x; \
.section .fixup; \
.align 4; \
99: retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one; \
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/GENcopy_to_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@

#define EX_ST(x) \
98: x; \
.section .fixup; \
.align 4; \
99: retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one; \
.text; \
.align 4;

Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/sparc/lib/NG2copy_from_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@

#define EX_LD(x) \
98: x; \
.section .fixup; \
.align 4; \
99: wr %g0, ASI_AIUS, %asi;\
retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one_asi;\
.text; \
.align 4;

Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/sparc/lib/NG2copy_to_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@

#define EX_ST(x) \
98: x; \
.section .fixup; \
.align 4; \
99: wr %g0, ASI_AIUS, %asi;\
retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one_asi;\
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/NGbzero.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@

#define EX_ST(x,y) \
98: x,y; \
.section .fixup; \
.align 4; \
99: retl; \
mov %o1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_o1; \
.text; \
.align 4;

Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/sparc/lib/NGcopy_from_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@

#define EX_LD(x) \
98: x; \
.section .fixup; \
.align 4; \
99: wr %g0, ASI_AIUS, %asi;\
ret; \
restore %g0, 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __ret_one_asi;\
.text; \
.align 4;

Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/sparc/lib/NGcopy_to_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@

#define EX_ST(x) \
98: x; \
.section .fixup; \
.align 4; \
99: wr %g0, ASI_AIUS, %asi;\
ret; \
restore %g0, 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __ret_one_asi;\
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/U1copy_from_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@

#define EX_LD(x) \
98: x; \
.section .fixup; \
.align 4; \
99: retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one; \
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/U1copy_to_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@

#define EX_ST(x) \
98: x; \
.section .fixup; \
.align 4; \
99: retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one; \
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/U3copy_from_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@

#define EX_LD(x) \
98: x; \
.section .fixup; \
.align 4; \
99: retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one; \
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/U3copy_to_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@

#define EX_ST(x) \
98: x; \
.section .fixup; \
.align 4; \
99: retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one; \
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/bzero.S
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,9 @@ __bzero_done:

#define EX_ST(x,y) \
98: x,y; \
.section .fixup; \
.align 4; \
99: retl; \
mov %o1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_o1; \
.text; \
.align 4;

Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/sparc/lib/copy_in_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@

#define EX(x,y) \
98: x,y; \
.section .fixup; \
.align 4; \
99: retl; \
mov 1, %o0; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.word 98b, __retl_one; \
.text; \
.align 4;

Expand Down

0 comments on commit 5d09781

Please sign in to comment.