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:
parent
2b2f530e7c
commit
9b1800d043
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue