mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user