2017-11-01 14:08:43 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2008-10-23 05:26:29 +00:00
|
|
|
#ifndef _ASM_X86_SIGINFO_H
|
|
|
|
#define _ASM_X86_SIGINFO_H
|
2007-10-15 21:28:21 +00:00
|
|
|
|
|
|
|
#ifdef __x86_64__
|
2012-04-23 23:34:12 +00:00
|
|
|
# ifdef __ILP32__ /* x32 */
|
|
|
|
typedef long long __kernel_si_clock_t __attribute__((aligned(4)));
|
|
|
|
# define __ARCH_SI_CLOCK_T __kernel_si_clock_t
|
|
|
|
# define __ARCH_SI_ATTRIBUTES __attribute__((aligned(8)))
|
|
|
|
# else /* x86-64 */
|
|
|
|
# define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
|
|
|
# endif
|
2007-10-15 21:28:21 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
|
2008-10-23 05:26:29 +00:00
|
|
|
#endif /* _ASM_X86_SIGINFO_H */
|