riscv: isr.S: fix a missing lw to LR conversion
This loads a pointer and therefore has to use LR to be 64-bit compatible. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
7c60300753
commit
39ada71688
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ call_irq:
|
|||
LR a0, 0x00(t0)
|
||||
|
||||
/* Load ISR function address in register t1 */
|
||||
lw t1, RV_REGSIZE(t0)
|
||||
LR t1, RV_REGSIZE(t0)
|
||||
|
||||
#ifdef CONFIG_EXECUTION_BENCHMARKING
|
||||
addi sp, sp, -16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue