Skip to content

Commit

Permalink
ARM: 9217/1: add definition of arch_irq_work_raise()
Browse files Browse the repository at this point in the history
The arm <asm/irq_work.h> does not define arch_irq_work_raise()
so is triggering the following sparse warning. Add a definiton
to fix this:

kernel/irq_work.c:70:13: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static?
arch/arm/kernel/smp.c:582:6: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King (Oracle) committed Jul 28, 2022
1 parent 8fa7ea4 commit b97abb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/include/asm/irq_work.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ static inline bool arch_irq_work_has_interrupt(void)
return is_smp();
}

extern void arch_irq_work_raise(void);

#endif /* _ASM_ARM_IRQ_WORK_H */

0 comments on commit b97abb4

Please sign in to comment.