sh: unwinder: Use a special bug flag for unwinder traps.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 21 Aug 2009 20:28:25 +0000 (05:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Aug 2009 20:28:25 +0000 (05:28 +0900)
commite115f2c17cbceee93b34d787a7a4a867fc73e7b4
tree6ee0f20dcb5eca29793d68e97242c5e483c24cfc
parentc153a58e715e16ffcd6c4b3da7fc6b4a556bf917
sh: unwinder: Use a special bug flag for unwinder traps.

This simplifies the unwinder trap handling, dropping the use of the
special trapa vector and simply piggybacking on top of the BUG support. A
new BUGFLAG_UNWINDER is added for flagging the unwinder fault, before
continuing on with regular BUG dispatch.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/bug.h
arch/sh/kernel/debugtraps.S
arch/sh/kernel/traps.c
arch/sh/kernel/unwinder.c