Add linux-next specific files for 20110831
[linux-2.6/next.git] / arch / sh / kernel / vsyscall / vsyscall-sigreturn.S
blob555a64f124ca0cf9200e10c615662bb492c54db2
1 #include <asm/unistd.h>
3         .text
4         .balign 32
5         .globl __kernel_sigreturn
6         .type __kernel_sigreturn,@function
7 __kernel_sigreturn:
8 .LSTART_sigreturn:
9         mov.w   1f, r3
10         trapa   #0x10
11         or      r0, r0
12         or      r0, r0
13         or      r0, r0
14         or      r0, r0
15         or      r0, r0
17 1:      .short  __NR_sigreturn
18 .LEND_sigreturn:
19         .size __kernel_sigreturn,.-.LSTART_sigreturn
21         .balign 32
22         .globl __kernel_rt_sigreturn
23         .type __kernel_rt_sigreturn,@function
24 __kernel_rt_sigreturn:
25 .LSTART_rt_sigreturn:
26         mov.w   1f, r3
27         trapa   #0x10
28         or      r0, r0
29         or      r0, r0
30         or      r0, r0
31         or      r0, r0
32         or      r0, r0
34 1:      .short  __NR_rt_sigreturn
35 .LEND_rt_sigreturn:
36         .size __kernel_rt_sigreturn,.-.LSTART_rt_sigreturn
38         .section .eh_frame,"a",@progbits
39         .previous