blob: 97299daddef5dcc2c8706d3bcc68cf29b6facc15 [file] [log] [blame]
Greg Kroah-Hartman6f52b162017-11-01 15:08:43 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef __ASM_SH_SIGNAL_H
3#define __ASM_SH_SIGNAL_H
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005#define SA_RESTORER 0x04000000
6
Paul Mundtbdc90d42009-06-14 23:25:57 +09007#include <asm-generic/signal.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Al Viro0679a852012-12-25 19:23:55 -05009#ifndef __KERNEL__
Linus Torvalds1da177e2005-04-16 15:20:36 -070010struct old_sigaction {
11 __sighandler_t sa_handler;
12 old_sigset_t sa_mask;
13 unsigned long sa_flags;
14 void (*sa_restorer)(void);
15};
Al Viro0679a852012-12-25 19:23:55 -050016#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#endif /* __ASM_SH_SIGNAL_H */