From: Rabin Vincent Date: Fri, 15 Jun 2012 09:23:32 +0000 (+0100) Subject: ARM: 7424/1: update die handler from x86 X-Git-Tag: v3.6-rc1~70^2^5~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02df19b4227e5b799e4642e88b568f9474fa78d0;p=pandora-kernel.git ARM: 7424/1: update die handler from x86 Robustify ARM's die() handling with improvements from x86: - Fix for a deadlock (before panic in the case of panic_on_oops) if we oops under a spinlock which is also used from interrupt handler, since the old code was unconditionally enabling interrupts. - Usage of arch spinlock so lockdep etc doesn't get involved while we're trying to dump out oopses. - Deadlock prevention in the unlikely event that die() recurses. The changes all touch the same few lines of code, so they're done together in one patch. Signed-off-by: Rabin Vincent Signed-off-by: Russell King --- Reading git-diff-tree failed