mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
![Eric W. Biederman](/assets/img/avatar_default.png)
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>
19 lines
417 B
C
19 lines
417 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _UAPI__SPARC_SIGINFO_H
|
|
#define _UAPI__SPARC_SIGINFO_H
|
|
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
|
|
#define __ARCH_SI_BAND_T int
|
|
|
|
#endif /* defined(__sparc__) && defined(__arch64__) */
|
|
|
|
|
|
#define __ARCH_SI_TRAPNO
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
|
|
#define SI_NOINFO 32767 /* no information in siginfo_t */
|
|
|
|
#endif /* _UAPI__SPARC_SIGINFO_H */
|