summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/uapi
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-26 01:23:55 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-04 00:16:16 +0100
commit0679a858c5439bf4bc05fd211d3690f82fefa5b6 (patch)
treebe14ceaf88aeef764efb0521cc31fad9056fb09c /arch/sh/include/uapi
parentsh: switch to generic old sigsuspend() (diff)
downloadlinux-0679a858c5439bf4bc05fd211d3690f82fefa5b6.tar.xz
linux-0679a858c5439bf4bc05fd211d3690f82fefa5b6.zip
sh: switch to generic old sigaction()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/include/uapi')
-rw-r--r--arch/sh/include/uapi/asm/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/uapi/asm/signal.h b/arch/sh/include/uapi/asm/signal.h
index 9ac530a90bce..cb96d02f55a4 100644
--- a/arch/sh/include/uapi/asm/signal.h
+++ b/arch/sh/include/uapi/asm/signal.h
@@ -5,11 +5,13 @@
#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 */