16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20a9426dfSDavid Howells #ifndef __ASM_SH_SIGNAL_H 30a9426dfSDavid Howells #define __ASM_SH_SIGNAL_H 40a9426dfSDavid Howells 50a9426dfSDavid Howells #define SA_RESTORER 0x04000000 60a9426dfSDavid Howells 70a9426dfSDavid Howells #include <asm-generic/signal.h> 80a9426dfSDavid Howells 90679a858SAl Viro #ifndef __KERNEL__ 100a9426dfSDavid Howells struct old_sigaction { 110a9426dfSDavid Howells __sighandler_t sa_handler; 120a9426dfSDavid Howells old_sigset_t sa_mask; 130a9426dfSDavid Howells unsigned long sa_flags; 140a9426dfSDavid Howells void (*sa_restorer)(void); 150a9426dfSDavid Howells }; 160679a858SAl Viro #endif 170a9426dfSDavid Howells 180a9426dfSDavid Howells #endif /* __ASM_SH_SIGNAL_H */ 19