xref: /openbmc/linux/arch/hexagon/include/asm/traps.h (revision 2a598d0b)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Trap support for Hexagon
4  *
5  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
6  */
7 
8 #ifndef _ASM_HEXAGON_TRAPS_H
9 #define _ASM_HEXAGON_TRAPS_H
10 
11 #include <asm/registers.h>
12 
13 extern int die(const char *str, struct pt_regs *regs, long err);
14 extern int die_if_kernel(char *str, struct pt_regs *regs, long err);
15 
16 #endif /* _ASM_HEXAGON_TRAPS_H */
17