Skip to contentSkip to conversation

s390 (6/6): siginfo_t for s390x.

PATCH New Martin Schwidefsky 1 participant 1 message Jul 17, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390 (6/6): siginfo_t for s390x.

Correct size of siginfo_t for s390x (from 136 to 128).

diffstat:

 include/asm-s390/siginfo.h |    3 +++
 1 files changed, 3 insertions(+)
include/asm-s390/siginfo.h +3 -0
diff -urN linux-2.6.0-test1/include/asm-s390/siginfo.h linux-2.6.0-s390/include/asm-s390/siginfo.h
@@ -10,6 +10,9 @@
 #define _S390_SIGINFO_H
 
 #define HAVE_ARCH_SI_CODES
+#ifdef __s390x__
+#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
+#endif
 
 #include <asm-generic/siginfo.h>