commit | 4c59e2942e92d2d776bcd038604a5c3c1d56d3ac | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Sun Sep 21 12:00:23 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Sun Sep 21 12:00:23 2008 +0900 |
tree | 56185c62c51852cf9c065b4d1b0313f69295bf27 | |
parent | 347cd34f4b32be30d2a6d92fe4d6eac04b00a637 [diff] |
sh: Move lookup_exception_vector() out to asm/system_32.h. 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>