summaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/signal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-10 12:09:42 +0100
committerDavid Howells <dhowells@redhat.com>2012-10-10 12:09:42 +0100
commitaa2c47e0a60470f20babaaa00ec94cf50c1feb6c (patch)
tree026c58d6bea4e79e2d96798b604909a0699b60c3 /arch/frv/include/asm/signal.h
parent42859eea96ba6beabfb0369a1eeffa3c7d2bd9cb (diff)
downloadblackbird-op-linux-aa2c47e0a60470f20babaaa00ec94cf50c1feb6c.tar.gz
blackbird-op-linux-aa2c47e0a60470f20babaaa00ec94cf50c1feb6c.zip
UAPI: (Scripted) Disintegrate arch/frv/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/frv/include/asm/signal.h')
-rw-r--r--arch/frv/include/asm/signal.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/arch/frv/include/asm/signal.h b/arch/frv/include/asm/signal.h
index f071e813dcb3..599500a31025 100644
--- a/arch/frv/include/asm/signal.h
+++ b/arch/frv/include/asm/signal.h
@@ -1,21 +1,8 @@
#ifndef _ASM_SIGNAL_H
#define _ASM_SIGNAL_H
-#include <linux/types.h>
+#include <uapi/asm/signal.h>
-#ifndef __KERNEL__
-/* Here we must cater to libcs that poke about in kernel headers. */
-
-#define NSIG 32
-typedef unsigned long sigset_t;
-
-#endif /* !__KERNEL__ */
-
-#define SA_RESTORER 0x04000000 /* to get struct sigaction correct */
-
-#include <asm-generic/signal.h>
-
-#ifdef __KERNEL__
struct old_sigaction {
__sighandler_t sa_handler;
old_sigset_t sa_mask;
@@ -23,22 +10,4 @@ struct old_sigaction {
__sigrestore_t sa_restorer;
};
-#else
-/* Here we must cater to libcs that poke about in kernel headers. */
-
-struct sigaction {
- union {
- __sighandler_t _sa_handler;
- void (*_sa_sigaction)(int, struct siginfo *, void *);
- } _u;
- sigset_t sa_mask;
- unsigned long sa_flags;
- void (*sa_restorer)(void);
-};
-
-#define sa_handler _u._sa_handler
-#define sa_sigaction _u._sa_sigaction
-
-#endif /* __KERNEL__ */
-
#endif /* _ASM_SIGNAL_H */
OpenPOWER on IntegriCloud