Commit 42033685 authored by Linus Torvalds's avatar Linus Torvalds

The default ARCH_SI_BAND_T should be "int", since that is what

Linux historically has had. Only x86-64 uses anything else, so
make the special case be _there_.
parent 5bb7472f
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4) #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4)
#define __ARCH_SI_BAND_T int
#include <asm-generic/siginfo.h> #include <asm-generic/siginfo.h>
#endif #endif
...@@ -27,7 +27,7 @@ typedef union sigval { ...@@ -27,7 +27,7 @@ typedef union sigval {
#endif #endif
#ifndef __ARCH_SI_BAND_T #ifndef __ARCH_SI_BAND_T
#define __ARCH_SI_BAND_T long #define __ARCH_SI_BAND_T int
#endif #endif
#ifndef HAVE_ARCH_SIGINFO_T #ifndef HAVE_ARCH_SIGINFO_T
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
#define __ARCH_SI_BAND_T long
#include <asm-generic/siginfo.h> #include <asm-generic/siginfo.h>
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment