From: Jason Wessel Date: Fri, 21 May 2010 02:04:25 +0000 (-0500) Subject: powerpc,kgdb: Introduce low level trap catching X-Git-Tag: v2.6.35-rc1~453^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba797b28131b1f1367b662936ea370239d603cff;p=pandora-kernel.git powerpc,kgdb: Introduce low level trap catching The only way the debugger can handle a trap in inside rcu_lock, notify_die, or atomic_notifier_call_chain without a recursive fault is to allow the kernel debugger to handle the exception first in program_check_exception(). The other change here is to make sure that kgdb_handle_exception() is called with correct parameters when catching an oops, because kdb needs to know if the entry was an oops, single step, or breakpoint exception. [benh@kernel.crashing.org: move debugger_bpt instead of #ifdef] CC: Paul Mackerras Signed-off-by: Jason Wessel Acked-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed