aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal_n32.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-10-02 09:12:31 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-02 11:03:31 -0400
commit3f2e05e90e0846c42626e3d272454f26be34a1bc (patch)
tree8a1701fcb7cde32373b6d7ceca09376416bf94eb /arch/mips/kernel/signal_n32.c
parent9ec52099e4b8678a60e9f93e41ad87885d64f3e6 (diff)
[PATCH] BLOCK: Revert patch to hack around undeclared sigset_t in linux/compat.h
Revert Andrew Morton's patch to temporarily hack around the lack of a declaration of sigset_t in linux/compat.h to make the block-disablement patches build on IA64. This got accidentally pushed to Linus and should be fixed in a different manner. Also make linux/compat.h #include asm/signal.h to gain a definition of sigset_t so that it can externally declare sigset_from_compat(). This has been compile-tested for i386, x86_64, ia64, mips, mips64, frv, ppc and ppc64 and run-tested on frv. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
-rw-r--r--arch/mips/kernel/signal_n32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c
index 50c17eaa7f25..477c5334ec1b 100644
--- a/arch/mips/kernel/signal_n32.c
+++ b/arch/mips/kernel/signal_n32.c
@@ -42,8 +42,6 @@
42 42
43#include "signal-common.h" 43#include "signal-common.h"
44 44
45extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat);
46
47/* 45/*
48 * Including <asm/unistd.h> would give use the 64-bit syscall numbers ... 46 * Including <asm/unistd.h> would give use the 64-bit syscall numbers ...
49 */ 47 */
@@ -83,6 +81,8 @@ struct rt_sigframe_n32 {
83#endif 81#endif
84}; 82};
85 83
84extern void sigset_from_compat (sigset_t *set, compat_sigset_t *compat);
85
86save_static_function(sysn32_rt_sigsuspend); 86save_static_function(sysn32_rt_sigsuspend);
87__attribute_used__ noinline static int 87__attribute_used__ noinline static int
88_sysn32_rt_sigsuspend(nabi_no_regargs struct pt_regs regs) 88_sysn32_rt_sigsuspend(nabi_no_regargs struct pt_regs regs)