We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af2c4d5 + 62de7e9 commit 57744b8Copy full SHA for 57744b8
1 file changed
src/arch/xtensa/smp/cpu.c
@@ -114,6 +114,10 @@ void cpu_power_down_core(void)
114
/* free entire sys heap, an instance dedicated for this core */
115
free_heap(RZONE_SYS);
116
117
+ /* arch_wait_for_interrupt() not used, because it will cause panic.
118
+ * This code is executed on irq lvl > 0, which is expected.
119
+ * Core will be put into reset by host anyway.
120
+ */
121
while (1)
- arch_wait_for_interrupt(0);
122
+ asm volatile("waiti 0");
123
}
0 commit comments