diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-18 06:22:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-18 06:22:43 +0000 |
commit | ee2c06618a6cbd3d7a2e5425e8f457cd52199aeb (patch) | |
tree | ba295e3a1982a3069a5849dda99334d768a56abe /libc/sysdeps/linux | |
parent | a9f021ba74c923abb237547c7f6d9c5e7a45ba22 (diff) |
add support for ia64
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/bits/kernel_sigaction.h | 12 |
1 files changed, 12 insertions, 0 deletions
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); |