1 #define arch_sigreturn sparc64_arch_sigreturn 2 #include "sparc/arch_sigreturn.c" 3 #undef arch_sigreturn 4 5 #define SIZEOF_STRUCT_SPARC_STACKF sizeof(struct sparc_stackf32) 6 #define SIZEOF_STRUCT_PT_REGS sizeof(struct pt_regs32) 7 #define PERSONALITY_WORDSIZE PERSONALITY1_WORDSIZE 8 #define arch_sigreturn sparc32_arch_sigreturn 9 #include "sparc/arch_sigreturn.c" 10 #undef arch_sigreturn 11 12 static void arch_sigreturn(struct tcb * tcp)13arch_sigreturn(struct tcb *tcp) 14 { 15 if (current_personality == 1) 16 sparc32_arch_sigreturn(tcp); 17 else 18 sparc64_arch_sigreturn(tcp); 19 } 20