2003-07-17 16:32:09

by Martin Schwidefsky

[permalink] [raw]
Subject: [PATCH] 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(+)

diff -urN linux-2.6.0-test1/include/asm-s390/siginfo.h linux-2.6.0-s390/include/asm-s390/siginfo.h
--- linux-2.6.0-test1/include/asm-s390/siginfo.h Mon Jul 14 05:37:33 2003
+++ linux-2.6.0-s390/include/asm-s390/siginfo.h Thu Jul 17 17:27:34 2003
@@ -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>