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