mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
[PATCH] x86-64: Fix BUG()
Use the correct file name in BUG() Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
db46868128
commit
f18de453eb
@ -18,7 +18,7 @@ struct bug_frame {
|
||||
#define HAVE_ARCH_BUG
|
||||
#define BUG() \
|
||||
asm volatile("ud2 ; .quad %c1 ; .short %c0" :: \
|
||||
"i"(__LINE__), "i" (__stringify(KBUILD_BASENAME)))
|
||||
"i"(__LINE__), "i" (__stringify(__FILE__)))
|
||||
void out_of_line_bug(void);
|
||||
#include <asm-generic/bug.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user