Fix exception handler to jump to correct vector instead of crashing to the double exception vector.

pull/155/merge
Jeroen Domburg 2016-12-19 16:01:21 +08:00
rodzic 1ed584f896
commit bb584c4333
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -713,7 +713,7 @@ _xt_user_exc:
rsr a2, EXCCAUSE /* recover exc cause */
movi a3, _xt_exception_table
get_percpu_entry_for a3, a4
get_percpu_entry_for a2, a4
addx4 a4, a2, a3 /* a4 = address of exception table entry */
l32i a4, a4, 0 /* a4 = handler address */
#ifdef __XTENSA_CALL0_ABI__