From: Andi Kleen Date: Sat, 16 Apr 2005 22:24:51 +0000 (-0700) Subject: [PATCH] x86-64: Fix BUG() X-Git-Tag: v2.6.12-rc3~177 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18de453eb52dae49bc512ccfa638d9a0f153771;p=linux-2.6 [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 --- diff --git a/include/asm-x86_64/bug.h b/include/asm-x86_64/bug.h index d2032f56e8..19aed6e78f 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