summaryrefslogtreecommitdiff
path: root/core/host/irq_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/host/irq_handler.h')
-rw-r--r--core/host/irq_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/host/irq_handler.h b/core/host/irq_handler.h
index 738d28cbeb..6d37020175 100644
--- a/core/host/irq_handler.h
+++ b/core/host/irq_handler.h
@@ -23,7 +23,7 @@
routine(); \
task_resched_if_needed(ret); \
} \
- const struct irq_priority IRQ_PRIORITY(irq) \
+ const struct irq_priority __keep IRQ_PRIORITY(irq) \
__attribute__((section(".rodata.irqprio"))) \
= {irq, priority}
#endif /* __CROS_EC_IRQ_HANDLER_H */