18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_SH_SIGNAL_H 38c2ecf20Sopenharmony_ci#define __ASM_SH_SIGNAL_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#define SA_RESTORER 0x04000000 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <asm-generic/signal.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef __KERNEL__ 108c2ecf20Sopenharmony_cistruct old_sigaction { 118c2ecf20Sopenharmony_ci __sighandler_t sa_handler; 128c2ecf20Sopenharmony_ci old_sigset_t sa_mask; 138c2ecf20Sopenharmony_ci unsigned long sa_flags; 148c2ecf20Sopenharmony_ci void (*sa_restorer)(void); 158c2ecf20Sopenharmony_ci}; 168c2ecf20Sopenharmony_ci#endif 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#endif /* __ASM_SH_SIGNAL_H */ 19