Greg Kroah-Hartman | 6f52b16 | 2017-11-01 15:08:43 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef __ASM_SH_SIGNAL_H |
| 3 | #define __ASM_SH_SIGNAL_H |
| 4 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | #define SA_RESTORER 0x04000000 |
| 6 | |
Paul Mundt | bdc90d4 | 2009-06-14 23:25:57 +0900 | [diff] [blame] | 7 | #include <asm-generic/signal.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
Al Viro | 0679a85 | 2012-12-25 19:23:55 -0500 | [diff] [blame] | 9 | #ifndef __KERNEL__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | struct 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 Viro | 0679a85 | 2012-12-25 19:23:55 -0500 | [diff] [blame] | 16 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #endif /* __ASM_SH_SIGNAL_H */ |