Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Christopher Ferris | 0437c52 | 2013-11-07 14:16:29 -0800 | [diff] [blame] | 2 | #ifndef _ASM_X86_SIGINFO_H |
| 3 | #define _ASM_X86_SIGINFO_H |
| 4 | |
| 5 | #ifdef __x86_64__ |
| 6 | # ifdef __ILP32__ /* x32 */ |
| 7 | typedef long long __kernel_si_clock_t __attribute__((aligned(4))); |
| 8 | # define __ARCH_SI_CLOCK_T __kernel_si_clock_t |
| 9 | # define __ARCH_SI_ATTRIBUTES __attribute__((aligned(8))) |
| 10 | # else /* x86-64 */ |
| 11 | # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) |
| 12 | # endif |
| 13 | #endif |
| 14 | |
| 15 | #include <asm-generic/siginfo.h> |
| 16 | |
| 17 | #endif /* _ASM_X86_SIGINFO_H */ |