summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/uapi/asm/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/uapi/asm/signal.h')
-rw-r--r--arch/sh/include/uapi/asm/signal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/sh/include/uapi/asm/signal.h b/arch/sh/include/uapi/asm/signal.h
new file mode 100644
index 0000000..9ac530a
--- /dev/null
+++ b/arch/sh/include/uapi/asm/signal.h
@@ -0,0 +1,15 @@
+#ifndef __ASM_SH_SIGNAL_H
+#define __ASM_SH_SIGNAL_H
+
+#define SA_RESTORER 0x04000000
+
+#include <asm-generic/signal.h>
+
+struct old_sigaction {
+ __sighandler_t sa_handler;
+ old_sigset_t sa_mask;
+ unsigned long sa_flags;
+ void (*sa_restorer)(void);
+};
+
+#endif /* __ASM_SH_SIGNAL_H */
OpenPOWER on IntegriCloud