5 #include <asm/linkage.h>
7 /* Here are some macros used to build trap table in core file. */
9 #define TRAP_NAME2(nr) nr##_trap(void)
10 #define TRAP_NAME(nr) TRAP_NAME2(TRAP##nr)
12 #define BUILD_COMMON_TRAP() \
17 "call "SYMBOL_NAME_STR(do_TRAP)"\n\t"\
21 #define BUILD_TRAP(nr) \
22 asmlinkage void TRAP_NAME(nr); \
25 SYMBOL_NAME_STR(TRAP) #nr "_trap:\n\t" \
29 void Init_Traps(void);