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
16 } __attribute__((packed));
20 /* We turn the bug frame into valid instructions to not confuse
21 the disassembler. Thanks to Jan Beulich & Suresh Siddha
22 for nice instruction selection.
23 The magic numbers generate mov $64bitimm,%eax ; ret $offset. */
26 "ud2 ; pushq $%c1 ; ret $%c0" :: \
27 "i"(__LINE__), "i" (__FILE__))
28 void out_of_line_bug(void);
30 static inline void out_of_line_bug(void) { }
33 #include <asm-generic/bug.h>