Discussing with Matthew Wilcox some of his outstanding patches lead me to this patch (among others). The preamble in struct sigevent can be expressed independently of the architecture. Also use __ARCH_SI_PREAMBLE_SIZE on ia64. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 lines
273 B
C
19 lines
273 B
C
/*
|
|
* include/asm-s390/siginfo.h
|
|
*
|
|
* S390 version
|
|
*
|
|
* Derived from "include/asm-i386/siginfo.h"
|
|
*/
|
|
|
|
#ifndef _S390_SIGINFO_H
|
|
#define _S390_SIGINFO_H
|
|
|
|
#ifdef __s390x__
|
|
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
|
#endif
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
#endif
|