4 #include <linux/list.h>
10 struct list_head node;
15 int (*fn)(struct pt_regs *regs, unsigned int instr);
18 void register_undef_hook(struct undef_hook *hook);
19 void unregister_undef_hook(struct undef_hook *hook);
21 static inline int __in_irqentry_text(unsigned long ptr)
23 extern char __irqentry_text_start[];
24 extern char __irqentry_text_end[];
26 return ptr >= (unsigned long)&__irqentry_text_start &&
27 ptr < (unsigned long)&__irqentry_text_end;
30 static inline int in_exception_text(unsigned long ptr)
32 extern char __exception_text_start[];
33 extern char __exception_text_end[];
36 in = ptr >= (unsigned long)&__exception_text_start &&
37 ptr < (unsigned long)&__exception_text_end;
39 return in ? : __in_irqentry_text(ptr);
42 extern void __init early_trap_init(void *);
43 extern void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame);
44 extern void ptrace_break(struct task_struct *tsk, struct pt_regs *regs);
46 extern void *vectors_page;