]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/sparc/include/uapi/asm/signal.h
consolidate kernel-side struct sigaction declarations
[karo-tx-linux.git] / arch / sparc / include / uapi / asm / signal.h
index 1a041892538f6e4a077021ad133515a9175f92d8..284836f0b7dcca0dcd69ecf206fc16689a0342e5 100644 (file)
@@ -147,24 +147,20 @@ struct sigstack {
 #define SIG_UNBLOCK        0x02        /* for unblocking signals */
 #define SIG_SETMASK        0x04        /* for setting the signal mask */
 
-/*
- * sigaltstack controls
- */
-#define SS_ONSTACK     1
-#define SS_DISABLE     2
-
 #define MINSIGSTKSZ    4096
 #define SIGSTKSZ       16384
 
 
 #include <asm-generic/signal-defs.h>
 
+#ifndef __KERNEL__
 struct __new_sigaction {
        __sighandler_t          sa_handler;
        unsigned long           sa_flags;
        __sigrestore_t          sa_restorer;  /* not used by Linux/SPARC yet */
        __new_sigset_t          sa_mask;
 };
+#endif
 
 struct __old_sigaction {
        __sighandler_t          sa_handler;