xref: /kernel/linux/linux-5.10/arch/c6x/include/asm/bug.h (revision 8c2ecf20)
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
14struct pt_regs;
15
16extern void die(char *str, struct pt_regs *fp, int nr);
17extern asmlinkage int process_exception(struct pt_regs *regs);
18extern asmlinkage void enable_exception(void);
19
20#endif /* _ASM_C6X_BUG_H */
21