projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db46868
)
[PATCH] x86-64: Fix BUG()
author
Andi Kleen
<ak@suse.de>
Sat, 16 Apr 2005 22:24:51 +0000
(15:24 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:51 +0000
(15:24 -0700)
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>
include/asm-x86_64/bug.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86_64/bug.h
b/include/asm-x86_64/bug.h
index d2032f56e87c217d82cf4ed66ec98703f4049768..19aed6e78fecc7e86ad5d54d4bb170e09df44069 100644
(file)
--- 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>