From: Marcus Meissner <meissner@suse.de>
After discussion on the glibc list the result was that=20 si_band is "long
int" according to POSIX:
http://www.opengroup.org/onlinepubs/
007904975/basedefs/signal.h.html
Ulrich Drepper refused a patch to fix glibc due to this reason:
http://sources.redhat.com/ml/libc-alpha/2004-03/msg00254.html
so here is the patch to fix it in the kernel.
ppc64 and s390x were broken before and are fixed by this patch too.
#endif
#ifndef __ARCH_SI_BAND_T
-#define __ARCH_SI_BAND_T int
+#define __ARCH_SI_BAND_T long int
#endif
#ifndef HAVE_ARCH_SIGINFO_T
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
-#define __ARCH_SI_BAND_T long
-
#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4)
#include <asm-generic/siginfo.h>