svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits
vapier at uclibc.org
vapier at uclibc.org
Fri Nov 18 06:22:46 UTC 2005
Author: vapier
Date: 2005-11-17 22:22:43 -0800 (Thu, 17 Nov 2005)
New Revision: 12404
Log:
add support for ia64
Modified:
trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h 2005-11-18 06:11:13 UTC (rev 12403)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h 2005-11-18 06:22:43 UTC (rev 12404)
@@ -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 @@
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 @@
};
#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);
More information about the uClibc-cvs
mailing list