18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _COMPAT_SIGNAL_H 38c2ecf20Sopenharmony_ci#define _COMPAT_SIGNAL_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/compat.h> 68c2ecf20Sopenharmony_ci#include <asm/signal.h> 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifdef CONFIG_COMPAT 98c2ecf20Sopenharmony_cistruct __new_sigaction32 { 108c2ecf20Sopenharmony_ci unsigned int sa_handler; 118c2ecf20Sopenharmony_ci unsigned int sa_flags; 128c2ecf20Sopenharmony_ci unsigned int sa_restorer; /* not used by Linux/SPARC yet */ 138c2ecf20Sopenharmony_ci compat_sigset_t sa_mask; 148c2ecf20Sopenharmony_ci}; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cistruct __old_sigaction32 { 178c2ecf20Sopenharmony_ci unsigned int sa_handler; 188c2ecf20Sopenharmony_ci compat_old_sigset_t sa_mask; 198c2ecf20Sopenharmony_ci unsigned int sa_flags; 208c2ecf20Sopenharmony_ci unsigned int sa_restorer; /* not used by Linux/SPARC yet */ 218c2ecf20Sopenharmony_ci}; 228c2ecf20Sopenharmony_ci#endif 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#endif /* !(_COMPAT_SIGNAL_H) */ 25