Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v4.16 45 lines 1.2 kB view raw
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2/* 3 * Copyright (C) 2012 ARM Ltd. 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17#ifndef __ASM_SIGINFO_H 18#define __ASM_SIGINFO_H 19 20#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) 21 22#include <asm-generic/siginfo.h> 23 24/* 25 * SIGFPE si_codes 26 */ 27#ifdef __KERNEL__ 28#define FPE_FIXME 0 /* Broken dup of SI_USER */ 29#endif /* __KERNEL__ */ 30 31/* 32 * SIGBUS si_codes 33 */ 34#ifdef __KERNEL__ 35#define BUS_FIXME 0 /* Broken dup of SI_USER */ 36#endif /* __KERNEL__ */ 37 38/* 39 * SIGTRAP si_codes 40 */ 41#ifdef __KERNEL__ 42#define TRAP_FIXME 0 /* Broken dup of SI_USER */ 43#endif /* __KERNEL__ */ 44 45#endif