From f18de453eb52dae49bc512ccfa638d9a0f153771 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Sat, 16 Apr 2005 15:24:51 -0700 Subject: [PATCH] x86-64: Fix BUG() Use the correct file name in BUG() Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-x86_64/bug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asm-x86_64') diff --git a/include/asm-x86_64/bug.h b/include/asm-x86_64/bug.h index d2032f56e87c..19aed6e78fec 100644 --- a/include/asm-x86_64/bug.h +++ b/include/asm-x86_64/bug.h @@ -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 -- cgit v1.2.2