Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6
[linux-2.6] / arch / sh / kernel / vsyscall / vsyscall-sigreturn.S
1 #include <asm/unistd.h>
2
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
16
17 1:      .short  __NR_sigreturn
18 .LEND_sigreturn:
19         .size __kernel_sigreturn,.-.LSTART_sigreturn
20
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
33
34 1:      .short  __NR_rt_sigreturn
35 .LEND_rt_sigreturn:
36         .size __kernel_rt_sigreturn,.-.LSTART_rt_sigreturn
37
38         .section .eh_frame,"a",@progbits
39         .previous