From: Paul Mundt Date: Fri, 8 Dec 2006 08:41:43 +0000 (+0900) Subject: sh: BUG() handling through trapa vector. X-Git-Tag: v2.6.20-rc1~146^2~4^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc34d312c7b25d5d0f54c16d143a9526936e5d38;p=pandora-kernel.git sh: BUG() handling through trapa vector. Previously we haven't been doing anything with verbose BUG() reporting, and we've been relying on the oops path for handling BUG()'s, which is rather sub-optimal. This switches BUG handling to use a fixed trapa vector (#0x3e) where we construct a small bug frame post trapa instruction to get the context right. This also makes it trivial to wire up a DIE_BUG for the atomic die chain, which we couldn't really do before. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed