File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ zephyr_sources(
4
4
cpu_idle.c
5
5
fatal.c
6
6
irq_manage.c
7
- irq_offload.c
8
7
isr.S
9
8
prep_c.c
10
9
reset.S
11
10
swap.S
12
11
thread.c
13
12
)
13
+
14
+ zephyr_sources_if_kconfig (irq_offload.c )
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ on_irq_stack:
211
211
addi t3, t3, 1
212
212
sw t3, _kernel_offset_to_nested(t2)
213
213
214
+ #ifdef CONFIG_IRQ_OFFLOAD
214
215
/*
215
216
* If we are here due to a system call, t1 register should != 0.
216
217
* In this case, perform IRQ offloading, otherwise jump to call_irq
@@ -226,6 +227,7 @@ on_irq_stack:
226
227
tail z_irq_do_offload
227
228
228
229
call_irq:
230
+ #endif /* CONFIG_IRQ_OFFLOAD */
229
231
#ifdef CONFIG_TRACING
230
232
call sys_trace_isr_enter
231
233
#endif
You can’t perform that action at this time.
0 commit comments