1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 3 * Copyright 2010 Tilera Corporation. All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation, version 2. 8 * 9 * This program is distributed in the hope that it will be useful, but 10 * WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or 12 * NON INFRINGEMENT. See the GNU General Public License for 13 * more details. 14 */ 15 16 #ifndef _ASM_TILE_SIGINFO_H 17 #define _ASM_TILE_SIGINFO_H 18 19 #define __ARCH_SI_TRAPNO 20 21 #ifdef __LP64__ 22 # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) 23 #endif 24 25 #include <asm-generic/siginfo.h> 26 27 /* 28 * Additional Tile-specific SIGILL si_codes 29 */ 30 #define ILL_DBLFLT 9 /* double fault */ 31 #define ILL_HARDWALL 10 /* user networks hardwall violation */ 32 #undef NSIGILL 33 #define NSIGILL 10 34 35 #endif /* _ASM_TILE_SIGINFO_H */ 36