Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

irq: force inline up_interrupt_context #14567

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/ceva/include/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion arch/or1k/include/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion arch/risc-v/include/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion arch/sim/include/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc/include/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading