1 #ifndef __ASM_EXTABLE_H 2 #define __ASM_EXTABLE_H 3 4 /* 5 * The exception table consists of pairs of relative offsets: the first 6 * is the relative offset to an instruction that is allowed to fault, 7 * and the second is the relative offset at which the program should 8 * continue. No registers are modified, so it is entirely up to the 9 * continuation code to figure out what to do. 10 * 11 * All the routines below use bits of fixup code that are out of line 12 * with the main instruction path. This means when everything is well, 13 * we don't even have to jump over them. Further, they do not intrude 14 * on our cache or tlb entries. 15 */ 16 17 struct exception_table_entry 18 { 19 int insn, fixup; 20 }; 21 22 #define ARCH_HAS_RELATIVE_EXTABLE 23 24 extern int fixup_exception(struct pt_regs *regs); 25 #endif 26