From: Alexander Nyberg Date: Sat, 25 Jun 2005 21:58:27 +0000 (-0700) Subject: [PATCH] kdump: Save trap information for later analysis X-Git-Tag: v2.6.13-rc1~68^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f339ecb30c759f94a29992d4635d9194132b6cf;p=pandora-kernel.git [PATCH] kdump: Save trap information for later analysis If we are faulting in kernel it is quite possible this will lead to a panic. Save trap number, cr2 (in case of page fault) and error_code in the current thread (these fields already exist for signal delivery but are not used here). This helps later kdump crash analyzing from user-space (a script has been submitted to dig this info out in gdb). Signed-off-by: Alexander Nyberg Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed