1 #ifndef __ASM_X8664_BUG_H
2 #define __ASM_X8664_BUG_H 1
4 #include <linux/stringify.h>
7 * Tell the user there is some problem. The exception handler decodes
13 /* should use 32bit offset instead, but the assembler doesn't
18 } __attribute__((packed
));
22 /* We turn the bug frame into valid instructions to not confuse
23 the disassembler. Thanks to Jan Beulich & Suresh Siddha
24 for nice instruction selection.
25 The magic numbers generate mov $64bitimm,%eax ; ret $offset. */
28 "ud2 ; .byte 0xa3 ; .quad %c1 ; .byte 0xc2 ; .short %c0" :: \
29 "i"(__LINE__), "i" (__stringify(__FILE__)))
30 void out_of_line_bug(void);
32 static inline void out_of_line_bug(void) { }
35 #include <asm-generic/bug.h>