aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/bug.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-04-16 15:24:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:24:51 -0700
commitf18de453eb52dae49bc512ccfa638d9a0f153771 (patch)
tree93961a6548b398f72824b264601142de97f5a988 /include/asm-x86_64/bug.h
parent[PATCH] x86-64/i386: Revert cpuinfo siblings behaviour back to 2.6.10 (diff)
downloadlinux-dev-f18de453eb52dae49bc512ccfa638d9a0f153771.tar.xz
linux-dev-f18de453eb52dae49bc512ccfa638d9a0f153771.zip
[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>
Diffstat (limited to 'include/asm-x86_64/bug.h')
-rw-r--r--include/asm-x86_64/bug.h2
1 files changed, 1 insertions, 1 deletions
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 <asm-generic/bug.h>