svn commit: trunk/uClibc/libc/sysdeps/linux: alpha/bits common/bits hppa/bits

vapier at uclibc.org vapier at uclibc.org
Fri Nov 18 23:07:06 UTC 2005


Author: vapier
Date: 2005-11-18 15:07:06 -0800 (Fri, 18 Nov 2005)
New Revision: 12412

Log:
move alpha/hppa into their own arch subdir where they should be

Added:
   trunk/uClibc/libc/sysdeps/linux/alpha/bits/kernel_sigaction.h
   trunk/uClibc/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h


Changeset:
Added: trunk/uClibc/libc/sysdeps/linux/alpha/bits/kernel_sigaction.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/alpha/bits/kernel_sigaction.h	2005-11-18 23:05:55 UTC (rev 12411)
+++ trunk/uClibc/libc/sysdeps/linux/alpha/bits/kernel_sigaction.h	2005-11-18 23:07:06 UTC (rev 12412)
@@ -0,0 +1,15 @@
+/* This is the sigaction struction from the Linux 2.1.20 kernel.  */
+
+struct old_kernel_sigaction {
+	__sighandler_t k_sa_handler;
+	unsigned long sa_mask;
+	unsigned int sa_flags;
+};
+
+/* This is the sigaction structure from the Linux 2.1.68 kernel.  */
+
+struct kernel_sigaction {
+	__sighandler_t k_sa_handler;
+	unsigned int sa_flags;
+	sigset_t sa_mask;
+};

Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h	2005-11-18 23:05:55 UTC (rev 12411)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/kernel_sigaction.h	2005-11-18 23:07:06 UTC (rev 12412)
@@ -6,37 +6,8 @@
 
 #undef NO_OLD_SIGACTION
 
-#if defined(__alpha__)
+#if defined(__mips__)
 #undef HAVE_SA_RESTORER
-/* This is the sigaction struction from the Linux 2.1.20 kernel.  */
-struct old_kernel_sigaction {
-    __sighandler_t k_sa_handler;
-    unsigned long sa_mask;
-    unsigned int sa_flags;
-};
-/* This is the sigaction structure from the Linux 2.1.68 kernel.  */
-struct kernel_sigaction {
-    __sighandler_t k_sa_handler;
-    unsigned int sa_flags;
-    sigset_t sa_mask;
-};
-#elif defined(__hppa__)
-#undef HAVE_SA_RESTORER
-/* This is the sigaction struction from the Linux 2.1.20 kernel.  */
-/* Blah.  This is bogus.  We don't ever use it. */
-struct old_kernel_sigaction {
-    __sighandler_t k_sa_handler;
-    unsigned long sa_mask;
-    unsigned long sa_flags;
-};
-/* This is the sigaction structure from the Linux 2.1.68 kernel.  */
-struct kernel_sigaction {
-    __sighandler_t k_sa_handler;
-    unsigned long sa_flags;
-    sigset_t sa_mask;
-};
-#elif defined(__mips__)
-#undef HAVE_SA_RESTORER
 /* This is the sigaction structure from the Linux 2.1.24 kernel.  */
 #include <sgidefs.h>
 struct old_kernel_sigaction {

Added: trunk/uClibc/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h	2005-11-18 23:05:55 UTC (rev 12411)
+++ trunk/uClibc/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h	2005-11-18 23:07:06 UTC (rev 12412)
@@ -0,0 +1,18 @@
+/* We have a separate header file here because we do not support
+   SA_RESTORER on hppa. */
+
+/* This is the sigaction struction from the Linux 2.1.20 kernel.  */
+/* Blah.  This is bogus.  We don't ever use it. */
+struct old_kernel_sigaction {
+	__sighandler_t k_sa_handler;
+	unsigned long sa_mask;
+	unsigned long sa_flags;
+};
+
+/* This is the sigaction structure from the Linux 2.1.68 kernel.  */
+
+struct kernel_sigaction {
+	__sighandler_t k_sa_handler;
+	unsigned long sa_flags;
+	sigset_t sa_mask;
+};




More information about the uClibc-cvs mailing list