1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Port on Texas Instruments TMS320C6x architecture 4 * 5 * Copyright (C) 2004, 2009, 2010, 2011 Texas Instruments Incorporated 6 * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) 7 */ 8 #ifndef _ASM_C6X_BUG_H 9 #define _ASM_C6X_BUG_H 10 11 #include <linux/linkage.h> 12 #include <asm-generic/bug.h> 13 14 struct pt_regs; 15 16 extern void die(char *str, struct pt_regs *fp, int nr); 17 extern asmlinkage int process_exception(struct pt_regs *regs); 18 extern asmlinkage void enable_exception(void); 19 20 #endif /* _ASM_C6X_BUG_H */