diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-06-17 08:57:23 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-06-26 06:00:51 -0400 |
commit | 05b016ecf5e7a8c24409d8e9effb5d2ec9107708 (patch) | |
tree | 534a54784f7d9f5d427b809a44c1eb626dff6d63 /arch/arc/kernel/head.S | |
parent | 38a9ff6d247cf9afcbe55ea245b650b8955029fd (diff) |
ARC: Setup Vector Table Base in early boot
Otherwise early boot exceptions such as instructions errors due to
configuration mismatch between kernel and hardware go off to la-la land,
as opposed to hitting the handler and panic()'ing properly.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/head.S')
-rw-r--r-- | arch/arc/kernel/head.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/kernel/head.S b/arch/arc/kernel/head.S index 006dec3fc353..2a913f85a747 100644 --- a/arch/arc/kernel/head.S +++ b/arch/arc/kernel/head.S | |||
@@ -27,6 +27,8 @@ stext: | |||
27 | ; Don't clobber r0-r4 yet. It might have bootloader provided info | 27 | ; Don't clobber r0-r4 yet. It might have bootloader provided info |
28 | ;------------------------------------------------------------------- | 28 | ;------------------------------------------------------------------- |
29 | 29 | ||
30 | sr @_int_vec_base_lds, [AUX_INTR_VEC_BASE] | ||
31 | |||
30 | #ifdef CONFIG_SMP | 32 | #ifdef CONFIG_SMP |
31 | ; Only Boot (Master) proceeds. Others wait in platform dependent way | 33 | ; Only Boot (Master) proceeds. Others wait in platform dependent way |
32 | ; IDENTITY Reg [ 3 2 1 0 ] | 34 | ; IDENTITY Reg [ 3 2 1 0 ] |