summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/uapi/asm/signal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 19:18:40 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 22:43:35 -0500
commita274bd498ce4b57294034d428b801b2bca3af774 (patch)
tree18ec27dca96e7a38f0bc0db67012d8954ae487fc /arch/sparc/include/uapi/asm/signal.h
parentbdc40abf070eab82d27de99ef5ff62a1c5de238d (diff)
downloadblackbird-op-linux-a274bd498ce4b57294034d428b801b2bca3af774.tar.gz
blackbird-op-linux-a274bd498ce4b57294034d428b801b2bca3af774.zip
sparc: switch to use of generic old sigaction
note that due to historical accident we do *not* directly take generic versions - need to check and invert the sign of signal number first. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/include/uapi/asm/signal.h')
-rw-r--r--arch/sparc/include/uapi/asm/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/uapi/asm/signal.h b/arch/sparc/include/uapi/asm/signal.h
index 284836f0b7dc..f387400fcfdf 100644
--- a/arch/sparc/include/uapi/asm/signal.h
+++ b/arch/sparc/include/uapi/asm/signal.h
@@ -160,7 +160,6 @@ struct __new_sigaction {
__sigrestore_t sa_restorer; /* not used by Linux/SPARC yet */
__new_sigset_t sa_mask;
};
-#endif
struct __old_sigaction {
__sighandler_t sa_handler;
@@ -168,6 +167,7 @@ struct __old_sigaction {
unsigned long sa_flags;
void (*sa_restorer)(void); /* not used by Linux/SPARC yet */
};
+#endif
typedef struct sigaltstack {
void __user *ss_sp;
OpenPOWER on IntegriCloud