From ee2c06618a6cbd3d7a2e5425e8f457cd52199aeb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 18 Nov 2005 06:22:43 +0000 Subject: add support for ia64 --- libc/sysdeps/linux/common/bits/kernel_sigaction.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/bits/kernel_sigaction.h b/libc/sysdeps/linux/common/bits/kernel_sigaction.h index 6eaf61f1d..dc0ade6c1 100644 --- a/libc/sysdeps/linux/common/bits/kernel_sigaction.h +++ b/libc/sysdeps/linux/common/bits/kernel_sigaction.h @@ -4,6 +4,8 @@ /* This file provides whatever this particular arch's kernel thinks * the sigaction struct should look like... */ +#undef NO_OLD_SIGACTION + #if defined(__alpha__) #undef HAVE_SA_RESTORER /* This is the sigaction struction from the Linux 2.1.20 kernel. */ @@ -58,6 +60,14 @@ struct kernel_sigaction { void (*sa_restorer)(void); int s_resv[1]; /* reserved */ }; +#elif defined(__ia64__) +#define NO_OLD_SIGACTION +#undef HAVE_SA_RESTORER +struct kernel_sigaction { + __sighandler_t k_sa_handler; + unsigned long sa_flags; + sigset_t sa_mask; +}; #else #define HAVE_SA_RESTORER /* This is the sigaction structure from the Linux 2.1.20 kernel. */ @@ -76,8 +86,10 @@ struct kernel_sigaction { }; #endif +#ifndef NO_OLD_SIGACTION extern int __syscall_sigaction (int, const struct old_kernel_sigaction *__unbounded, struct old_kernel_sigaction *__unbounded); +#endif extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded, struct kernel_sigaction *__unbounded, size_t); -- cgit v1.2.3