lkml.org 
[lkml]   [2005]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 068/198] x86-64: Fix BUG()
From
Date

From: Andi Kleen <ak@suse.de>

Use the correct file name in BUG()

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-13 03:52    [W:0.016 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site