[COMMITTED] Fix sigaction conform test failures on sparc.
diff mbox

Message ID 20140422.205517.1347355669720913297.davem@davemloft.net
State New
Headers show

Commit Message

David Miller April 23, 2014, 12:55 a.m. UTC
Just like S390.

	* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
	(struct sigaction): New struct member __glibc_reserved0, change
	type of sa_flags to int.
---
 ChangeLog                                      | 6 ++++++
 sysdeps/unix/sysv/linux/sparc/bits/sigaction.h | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

Patch
diff mbox

diff --git a/ChangeLog b/ChangeLog
index c3fa6e5..9319a31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@ 
+2014-04-22  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
+	(struct sigaction): New struct member __glibc_reserved0, change
+	type of sa_flags to int.
+
 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
 
 	* stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/sigaction.h b/sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
index eaccf97..7a0ca7e 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
@@ -43,7 +43,8 @@  struct sigaction
     __sigset_t sa_mask;
 
     /* Special flags.  */
-    unsigned long sa_flags;
+    int __glibc_reserved0;
+    int sa_flags;
 
     /* Not used by Linux/Sparc yet.  */
     void (*sa_restorer) (void);