about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/errno.c1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h12
-rw-r--r--sysdeps/unix/sysv/linux/sparc/kernel_stat.h9
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sys/trap.h7
4 files changed, 15 insertions, 14 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/errno.c b/sysdeps/unix/sysv/linux/sparc/errno.c
deleted file mode 100644
index 663ab33e93..0000000000
--- a/sysdeps/unix/sysv/linux/sparc/errno.c
+++ /dev/null
@@ -1 +0,0 @@
-itn errno;
diff --git a/sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h b/sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h
deleted file mode 100644
index f870d15082..0000000000
--- a/sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Linux/SPARC version.  This is the sigaction struction from the Linux
-   2.1.20 kernel.  */
-
-struct sigaction
-  {
-    __sighandler_t sa_handler;
-    sigset_t sa_mask;
-    unsigned long int sa_flags;
-    void (*sa_restorer) (void);     /* not used by Linux/SPARC yet */
-  };
-
-#define HAVE_SA_RESTORER
diff --git a/sysdeps/unix/sysv/linux/sparc/kernel_stat.h b/sysdeps/unix/sysv/linux/sparc/kernel_stat.h
index 993a8664dc..91f02f4e20 100644
--- a/sysdeps/unix/sysv/linux/sparc/kernel_stat.h
+++ b/sysdeps/unix/sysv/linux/sparc/kernel_stat.h
@@ -17,5 +17,12 @@ struct kernel_stat
     unsigned long int __unused3;
     long int st_blksize;
     long int st_blocks;
-    unsigned long int __unused4[2];
+    unsigned long int __unused4;
+    unsigned long int __unused5;
   };
+
+#define _HAVE___UNUSED1
+#define _HAVE___UNUSED2
+#define _HAVE___UNUSED3
+#define _HAVE___UNUSED4
+#define _HAVE___UNUSED5
diff --git a/sysdeps/unix/sysv/linux/sparc/sys/trap.h b/sysdeps/unix/sysv/linux/sparc/sys/trap.h
new file mode 100644
index 0000000000..99b9c60e06
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sparc/sys/trap.h
@@ -0,0 +1,7 @@
+/* Include Linux/SPARC specific trap definitions.  */
+#ifndef _SYS_TRAP_H
+#define _SYS_TRAP_H	1
+
+#include <asm/traps.h>
+
+#endif /* sys/trap.h */