mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 04:15:27 +07:00
f283801851
Rework the defintion of struct siginfo so that the array padding struct siginfo to SI_MAX_SIZE can be placed in a union along side of the rest of the struct siginfo members. The result is that we no longer need the __ARCH_SI_PREAMBLE_SIZE or SI_PAD_SIZE definitions. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
16 lines
422 B
C
16 lines
422 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _ASM_X86_SIGINFO_H
|
|
#define _ASM_X86_SIGINFO_H
|
|
|
|
#ifdef __x86_64__
|
|
# 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)))
|
|
# endif
|
|
#endif
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
#endif /* _ASM_X86_SIGINFO_H */
|