diff options
Diffstat (limited to 'include/asm-alpha/signal.h')
-rw-r--r-- | include/asm-alpha/signal.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-alpha/signal.h b/include/asm-alpha/signal.h index 06c3bb7e3..80e27df1a 100644 --- a/include/asm-alpha/signal.h +++ b/include/asm-alpha/signal.h @@ -145,10 +145,17 @@ struct k_sigaction { /* Here we must cater to libcs that poke about in kernel headers. */ struct sigaction { - __sighandler_t sa_handler; + union { + __sighandler_t _sa_handler; + void (*_sa_sigaction)(int, struct siginfo *, void *); + } _u; sigset_t sa_mask; int sa_flags; }; + +#define sa_handler _u._sa_handler +#define sa_sigaction _u._sa_sigaction + #endif /* __KERNEL__ */ typedef struct sigaltstack { |