summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/bits/signal.h6
-rw-r--r--arch/i386/bits/signal.h6
-rw-r--r--arch/microblaze/bits/signal.h6
-rw-r--r--arch/mips/bits/signal.h6
-rw-r--r--arch/powerpc/bits/signal.h6
-rw-r--r--arch/sh/bits/signal.h6
-rw-r--r--arch/x32/bits/signal.h6
-rw-r--r--arch/x86_64/bits/signal.h6
-rw-r--r--include/signal.h6
9 files changed, 48 insertions, 6 deletions
diff --git a/arch/arm/bits/signal.h b/arch/arm/bits/signal.h
index a658ef63..6d91f70f 100644
--- a/arch/arm/bits/signal.h
+++ b/arch/arm/bits/signal.h
@@ -27,6 +27,12 @@ typedef struct __ucontext {
unsigned long long uc_regspace[64];
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
diff --git a/arch/i386/bits/signal.h b/arch/i386/bits/signal.h
index 75844e5b..7d8d1871 100644
--- a/arch/i386/bits/signal.h
+++ b/arch/i386/bits/signal.h
@@ -62,6 +62,12 @@ typedef struct __ucontext {
unsigned long __fpregs_mem[28];
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
diff --git a/arch/microblaze/bits/signal.h b/arch/microblaze/bits/signal.h
index ba711c8c..730ab90b 100644
--- a/arch/microblaze/bits/signal.h
+++ b/arch/microblaze/bits/signal.h
@@ -29,6 +29,12 @@ typedef struct __ucontext {
sigset_t uc_sigmask;
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h
index f26c37da..d09558fe 100644
--- a/arch/mips/bits/signal.h
+++ b/arch/mips/bits/signal.h
@@ -46,6 +46,12 @@ typedef struct __ucontext {
sigset_t uc_sigmask;
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 0x10000
#define SA_SIGINFO 8
diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h
index c073cd21..7113b2ff 100644
--- a/arch/powerpc/bits/signal.h
+++ b/arch/powerpc/bits/signal.h
@@ -60,6 +60,12 @@ typedef struct __ucontext {
mcontext_t uc_mcontext;
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1U
#define SA_NOCLDWAIT 2U
#define SA_SIGINFO 4U
diff --git a/arch/sh/bits/signal.h b/arch/sh/bits/signal.h
index 905ae3ac..bb2b9fc5 100644
--- a/arch/sh/bits/signal.h
+++ b/arch/sh/bits/signal.h
@@ -27,6 +27,12 @@ typedef struct __ucontext {
sigset_t uc_sigmask;
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
diff --git a/arch/x32/bits/signal.h b/arch/x32/bits/signal.h
index ecbb8139..67056c9e 100644
--- a/arch/x32/bits/signal.h
+++ b/arch/x32/bits/signal.h
@@ -69,6 +69,12 @@ typedef struct __ucontext {
unsigned long long __fpregs_mem[64];
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
diff --git a/arch/x86_64/bits/signal.h b/arch/x86_64/bits/signal.h
index d5f01ced..910e4ecb 100644
--- a/arch/x86_64/bits/signal.h
+++ b/arch/x86_64/bits/signal.h
@@ -69,6 +69,12 @@ typedef struct __ucontext {
unsigned long __fpregs_mem[64];
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
diff --git a/include/signal.h b/include/signal.h
index 8ef5ff14..ab21e5c0 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -77,12 +77,6 @@ extern "C" {
#define CLD_STOPPED 5
#define CLD_CONTINUED 6
-typedef struct sigaltstack {
- void *ss_sp;
- int ss_flags;
- size_t ss_size;
-} stack_t;
-
union sigval {
int sival_int;
void *sival_ptr;