irq: force inline up_interrupt_context

reason:
Replace "inline" with "inline_function" for "up_interrupt_context" to ensure consistency with other arch

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5
2024-01-31 16:23:15 +08:00
committed by archer
parent 2b2f530e7c
commit 9b1800d043
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ static inline_function void up_set_current_regs(uint32_t *regs)
*
****************************************************************************/
static inline bool up_interrupt_context(void)
static inline_function bool up_interrupt_context(void)
{
#ifdef CONFIG_SMP
irqstate_t flags = up_irq_save();