diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-15 17:28:21 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:26:17 -0400 |
commit | f16ee288545be36cdcc404e9b7c505eb0fe2633c (patch) | |
tree | b722c16131b0d9dcfdc58f119804c7c18d2558f2 /include/asm-x86/siginfo.h | |
parent | 68fdc55c48fd2e8f4938a1e815216c25baf8a17e (diff) |
x86: unify include/asm/siginfo_32/64.h
Same file, except for the 64bit PREAMBLE_SIZE define.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/siginfo.h')
-rw-r--r-- | include/asm-x86/siginfo.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/include/asm-x86/siginfo.h b/include/asm-x86/siginfo.h index 0b8e4bb47d25..a477bea0c2a1 100644 --- a/include/asm-x86/siginfo.h +++ b/include/asm-x86/siginfo.h | |||
@@ -1,13 +1,10 @@ | |||
1 | #ifdef __KERNEL__ | 1 | #ifndef _ASM_X86_SIGINFO_H |
2 | # ifdef CONFIG_X86_32 | 2 | #define _ASM_X86_SIGINFO_H |
3 | # include "siginfo_32.h" | 3 | |
4 | # else | 4 | #ifdef __x86_64__ |
5 | # include "siginfo_64.h" | 5 | # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) |
6 | # endif | 6 | #endif |
7 | #else | 7 | |
8 | # ifdef __i386__ | 8 | #include <asm-generic/siginfo.h> |
9 | # include "siginfo_32.h" | 9 | |
10 | # else | ||
11 | # include "siginfo_64.h" | ||
12 | # endif | ||
13 | #endif | 10 | #endif |