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

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();

View File

@ -133,7 +133,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();

View File

@ -799,7 +799,7 @@ noinstrument_function static inline void up_irq_restore(irqstate_t flags)
*
****************************************************************************/
noinstrument_function static inline bool up_interrupt_context(void)
noinstrument_function static inline_function bool up_interrupt_context(void)
{
#ifdef CONFIG_SMP
irqstate_t flags = up_irq_save();

View File

@ -153,7 +153,7 @@ static inline uintptr_t up_getsp(void)
****************************************************************************/
noinstrument_function
static inline bool up_interrupt_context(void)
static inline_function bool up_interrupt_context(void)
{
#ifdef CONFIG_SMP
irqstate_t flags = up_irq_save();

View File

@ -151,7 +151,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();