1 #ifndef _ASM_X86_64_EXTABLE_H
2 #define _ASM_X86_64_EXTABLE_H
5 * The exception table consists of pairs of addresses: the first is the
6 * address of an instruction that is allowed to fault, and the second is
7 * the address at which the program should continue. No registers are
8 * modified, so it is entirely up to the continuation code to figure out
11 * The nice thing about this mechanism is that the fixup code is completely
12 * out of line with the main instruction path. This means when everything
13 * is well, we don't even have to jump over them. Further, they do not intrude
14 * on our cache or tlb entries.
16 struct exception_table_entry
18 unsigned long insn; /* Instruction addr that is allowed to fault */
19 unsigned long fixup; /* Fixup handler address */
22 #define ARCH_HAS_SEARCH_EXTABLE