diff options
Diffstat (limited to 'arch/openrisc/cpu/exceptions.c')
-rw-r--r-- | arch/openrisc/cpu/exceptions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/openrisc/cpu/exceptions.c b/arch/openrisc/cpu/exceptions.c index d01fbfbb1c..c69ceafe80 100644 --- a/arch/openrisc/cpu/exceptions.c +++ b/arch/openrisc/cpu/exceptions.c @@ -16,6 +16,7 @@ #include <common.h> #include <asm/system.h> +#include <asm/openrisc_exc.h> static const char * const excp_table[] = { "Unknown exception", @@ -69,6 +70,9 @@ static void exception_hang(int vect) hang(); } +/* Called from assembly */ +void exception_handler(int vect); + void exception_handler(int vect) { int exception = vect >> 8; |