]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit5f1d189f8a87930d62c507800a8ac20b9a185e41
treef83f756d8481dafe3b8ddba5b741ec6b5cf33e96
parent1b2f6304500930ab534a6aa3198bce0c51586206
[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