]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/ia64/include/uapi/asm/siginfo.h
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-jammy-kernel.git] / arch / ia64 / include / uapi / asm / siginfo.h
CommitLineData
6f52b16c 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
43e40f25
DH
2/*
3 * Based on <asm-i386/siginfo.h>.
4 *
5 * Modified 1998-2002
6 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
7 */
8#ifndef _UAPI_ASM_IA64_SIGINFO_H
9#define _UAPI_ASM_IA64_SIGINFO_H
10
11
12#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
13
43e40f25
DH
14#include <asm-generic/siginfo.h>
15
43e40f25
DH
16#define si_imm _sifields._sigfault._imm /* as per UNIX SysV ABI spec */
17#define si_flags _sifields._sigfault._flags
18/*
19 * si_isr is valid for SIGILL, SIGFPE, SIGSEGV, SIGBUS, and SIGTRAP provided that
20 * si_code is non-zero and __ISR_VALID is set in si_flags.
21 */
22#define si_isr _sifields._sigfault._isr
23
24/*
25 * Flag values for si_flags:
26 */
27#define __ISR_VALID_BIT 0
28#define __ISR_VALID (1 << __ISR_VALID_BIT)
29
43e40f25
DH
30/*
31 * SIGFPE si_codes
32 */
80dce5e3 33#ifdef __KERNEL__
cc731525 34#define FPE_FIXME 0 /* Broken dup of SI_USER */
80dce5e3 35#endif /* __KERNEL__ */
43e40f25
DH
36
37#endif /* _UAPI_ASM_IA64_SIGINFO_H */