Loading...
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _ASM_X86_SIGINFO_H
3#define _ASM_X86_SIGINFO_H
4
5#ifdef __x86_64__
6# ifdef __ILP32__ /* x32 */
7typedef 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# endif
11#endif
12
13#include <asm-generic/siginfo.h>
14
15#endif /* _ASM_X86_SIGINFO_H */
1#ifndef _ASM_X86_SIGINFO_H
2#define _ASM_X86_SIGINFO_H
3
4#ifdef __x86_64__
5# ifdef __ILP32__ /* x32 */
6typedef 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
12#endif
13
14#include <asm-generic/siginfo.h>
15
16#endif /* _ASM_X86_SIGINFO_H */