summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/compat-signal.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-02-15 12:40:37 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-02-18 22:31:35 +0100
commit151fd6acd94e12ef3a7d5fa0911a2590690c493f (patch)
tree33623a4cf6c6ce7c134f3cc5624dbcac26817238 /include/asm-mips/compat-signal.h
parent[MIPS] Fix CONFIG_MIPS32_N32=y CONFIG_MIPS32_O32=n build (diff)
downloadlinux-151fd6acd94e12ef3a7d5fa0911a2590690c493f.tar.xz
linux-151fd6acd94e12ef3a7d5fa0911a2590690c493f.zip
[MIPS] signals: Share even more code.
native and compat do_signal and handle_signal are identical and can easily be unified. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/compat-signal.h')
-rw-r--r--include/asm-mips/compat-signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mips/compat-signal.h b/include/asm-mips/compat-signal.h
index 20ac29ffa7c8..6599a901b63e 100644
--- a/include/asm-mips/compat-signal.h
+++ b/include/asm-mips/compat-signal.h
@@ -5,6 +5,9 @@
#include <linux/compat.h>
#include <linux/compiler.h>
+#include <asm/signal.h>
+#include <asm/siginfo.h>
+
#include <asm/uaccess.h>
static inline int __copy_conv_sigset_to_user(compat_sigset_t __user *d,