2017-11-01 22:08:43 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __ASM_SH_SIGNAL_H
|
|
|
|
#define __ASM_SH_SIGNAL_H
|
|
|
|
|
|
|
|
#define SA_RESTORER 0x04000000
|
|
|
|
|
2009-06-14 22:25:57 +08:00
|
|
|
#include <asm-generic/signal.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2012-12-26 08:23:55 +08:00
|
|
|
#ifndef __KERNEL__
|
2005-04-17 06:20:36 +08:00
|
|
|
struct old_sigaction {
|
|
|
|
__sighandler_t sa_handler;
|
|
|
|
old_sigset_t sa_mask;
|
|
|
|
unsigned long sa_flags;
|
|
|
|
void (*sa_restorer)(void);
|
|
|
|
};
|
2012-12-26 08:23:55 +08:00
|
|
|
#endif
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#endif /* __ASM_SH_SIGNAL_H */
|