arch/x86/include/asm/bug.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
     7 #ifdef CONFIG_DEBUG_BUGVERBOSE
     7 #ifdef CONFIG_DEBUG_BUGVERBOSE
     8 
     8 
     9 #ifdef CONFIG_X86_32
     9 #ifdef CONFIG_X86_32
    10 # define __BUG_C0	"2:\t.long 1b, %c0\n"
    10 # define __BUG_C0	"2:\t.long 1b, %c0\n"
    11 #else
    11 #else
    12 # define __BUG_C0	"2:\t.quad 1b, %c0\n"
    12 # define __BUG_C0	"2:\t.long 1b - 2b, %c0 - 2b\n"
    13 #endif
    13 #endif
    14 
    14 
    15 #define BUG()							\
    15 #define BUG()							\
    16 do {								\
    16 do {								\
    17 	asm volatile("1:\tud2\n"				\
    17 	asm volatile("1:\tud2\n"				\