1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/unicore32/include/asm/traps.h
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
9 #ifndef __UNICORE_TRAP_H__
10 #define __UNICORE_TRAP_H__
12 extern void __init early_trap_init(void);
13 extern void dump_backtrace_entry(unsigned long where,
14 unsigned long from, unsigned long frame);
16 extern void do_DataAbort(unsigned long addr, unsigned int fsr,
17 struct pt_regs *regs);