]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Display meaningful part of filename during BUG()
authorJan Beulich <jbeulich@novell.com>
Wed, 11 Jan 2006 21:46:48 +0000 (22:46 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:05:03 +0000 (19:05 -0800)
commiteacc507fb45fb33251677f735d4b13e0e24d202c
treef83f756d8481dafe3b8ddba5b741ec6b5cf33e96
parent793410b0b2ec47968787359d78c81ee63ee40eaa
[PATCH] x86_64: Display meaningful part of filename during BUG()

When building in a separate objtree, file names produced by BUG() & Co. can
get fairly long; printing only the first 50 characters may thus result in
(almost) no useful information. The following change makes it so that rather
the last 50 characters of the filename get printed.

Signed-Off-By: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c
arch/x86_64/lib/usercopy.c
include/asm-x86_64/uaccess.h