提交 f18de453 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

[PATCH] x86-64: Fix BUG()

Use the correct file name in BUG()
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 db468681
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册