From: Chuck Ebbert <76306.1226@compuserve.com> Date: Tue, 26 Sep 2006 06:32:19 +0000 (-0700) Subject: [PATCH] i386: show_registers(): try harder to print failing code X-Git-Tag: v2.6.19-rc1~1136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99325326a57b6a56595bb097655bee9fd27d77b0;p=pandora-kernel.git [PATCH] i386: show_registers(): try harder to print failing code show_registers() tries to dump failing code starting 43 bytes before the offending instruction, but this address can be bad, for example in a device driver where the failing instruction is less than 43 bytes from the start of the driver's code. When that happens, try to dump code starting at the failing instruction instead of printing no code at all. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Cc: Andi Kleen Cc: Keith Owens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed