about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/ksigaction.h2
-rw-r--r--arch/sh/ksigaction.h8
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/ksigaction.h b/arch/mips/ksigaction.h
index 6d731646..3127f7c0 100644
--- a/arch/mips/ksigaction.h
+++ b/arch/mips/ksigaction.h
@@ -7,3 +7,5 @@ struct k_sigaction {
 	 * mips-specific preprocessor conditionals in sigaction.c. */
 	void (*restorer)();
 };
+
+void __restore(), __restore_rt();
diff --git a/arch/sh/ksigaction.h b/arch/sh/ksigaction.h
new file mode 100644
index 00000000..0c652bea
--- /dev/null
+++ b/arch/sh/ksigaction.h
@@ -0,0 +1,8 @@
+struct k_sigaction {
+	void (*handler)(int);
+	unsigned long flags;
+	void *restorer;
+	unsigned mask[2];
+};
+
+extern unsigned char __restore[], __restore_rt[];