diff options
Diffstat (limited to 'core/cortex-m/irq_handler.h')
-rw-r--r-- | core/cortex-m/irq_handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/irq_handler.h b/core/cortex-m/irq_handler.h index ae5d95cd94..9a69f8feeb 100644 --- a/core/cortex-m/irq_handler.h +++ b/core/cortex-m/irq_handler.h @@ -27,7 +27,7 @@ typedef struct { \ int fake[irq >= CONFIG_IRQ_COUNT ? -1 : 1]; \ } irq_num_check_##irq; \ - void __keep routine(void); \ + static void __attribute__((used)) routine(void); \ void IRQ_HANDLER(irq)(void) \ { \ asm volatile("mov r0, lr\n" \ |