[patch 068/198] x86-64: Fix BUG()

From: akpm
Date: Tue Apr 12 2005 - 20:50:10 EST



From: Andi Kleen <ak@xxxxxxx>

Use the correct file name in BUG()

Signed-off-by: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

25-akpm/include/asm-x86_64/bug.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/asm-x86_64/bug.h~x86-64-fix-bug include/asm-x86_64/bug.h
--- 25/include/asm-x86_64/bug.h~x86-64-fix-bug 2005-04-12 03:21:19.792128040 -0700
+++ 25-akpm/include/asm-x86_64/bug.h 2005-04-12 03:21:19.794127736 -0700
@@ -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>

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/