include/asm-x86/bug.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BUG() \
|
#define BUG() \
|
||||||
do { \
|
do { \
|
||||||
asm volatile("1:\tud2\n" \
|
asm volatile("1:\tud2\n" \
|
||||||
".pushsection __bug_table,\"a\"\n" \
|
".pushsection __bug_table,\"a\"\n" \
|
||||||
__BUG_C0 \
|
__BUG_C0 \
|
||||||
@@ -22,15 +22,15 @@
|
|||||||
".popsection" \
|
".popsection" \
|
||||||
: : "i" (__FILE__), "i" (__LINE__), \
|
: : "i" (__FILE__), "i" (__LINE__), \
|
||||||
"i" (sizeof(struct bug_entry))); \
|
"i" (sizeof(struct bug_entry))); \
|
||||||
for(;;) ; \
|
for (;;) ; \
|
||||||
} while(0)
|
} while (0)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define BUG() \
|
#define BUG() \
|
||||||
do { \
|
do { \
|
||||||
asm volatile("ud2"); \
|
asm volatile("ud2"); \
|
||||||
for(;;) ; \
|
for (;;) ; \
|
||||||
} while(0)
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* !CONFIG_BUG */
|
#endif /* !CONFIG_BUG */
|
||||||
|
Reference in New Issue
Block a user