sh: Move lookup_exception_vector() out to asm/system_32.h.
authorPaul Mundt <lethal@linux-sh.org>
Sun, 21 Sep 2008 03:00:23 +0000 (12:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 21 Sep 2008 03:00:23 +0000 (12:00 +0900)
There are other places where we want to have access to the trap/exception
number, so move out the lookup_exception_vector() helper. While we're at
it, refactor it slightly to return the vector instead.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found