H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_SIGINFO_H |
| 2 | #define _ASM_X86_SIGINFO_H |
Thomas Gleixner | f16ee28 | 2007-10-15 23:28:21 +0200 | [diff] [blame] | 3 | |
| 4 | #ifdef __x86_64__ |
H. Peter Anvin | 89b8835 | 2012-04-23 16:34:12 -0700 | [diff] [blame] | 5 | # ifdef __ILP32__ /* x32 */ |
| 6 | typedef long long __kernel_si_clock_t __attribute__((aligned(4))); |
| 7 | # define __ARCH_SI_CLOCK_T __kernel_si_clock_t |
| 8 | # define __ARCH_SI_ATTRIBUTES __attribute__((aligned(8))) |
| 9 | # else /* x86-64 */ |
| 10 | # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) |
| 11 | # endif |
Thomas Gleixner | f16ee28 | 2007-10-15 23:28:21 +0200 | [diff] [blame] | 12 | #endif |
| 13 | |
| 14 | #include <asm-generic/siginfo.h> |
| 15 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 16 | #endif /* _ASM_X86_SIGINFO_H */ |