Skip to content

Commit 926efb8

Browse files
williamtcdnscfriedt
authored andcommitted
xtensa: fix error: use of undeclared identifier 'intenable2'
This is likely a miss from: df40dff arch: xtensa: clean up interrupt handling Signed-off-by: William Tambe <williamt@cadence.com>
1 parent 74bea00 commit 926efb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/xtensa/core/vector_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ __unused static void xtensa_handle_irq_lvl(int irq_lvl)
468468

469469
#if XCHAL_NUM_INTERRUPTS > 64
470470
__asm__ volatile("rsr.interrupt2 %0" : "=r"(irq_mask));
471-
__asm__ volatile("rsr.intenable2 %0" : "=r"(intenable2));
471+
__asm__ volatile("rsr.intenable2 %0" : "=r"(intenable));
472472
irq_mask &= intenable;
473473
irq_mask &= xtensa_lvl_mask[irq_lvl - 1][2];
474474
while (irq_mask) {

0 commit comments

Comments
 (0)