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