Skip to content

Commit 4f4697b

Browse files
malaterreZhengShunQian
authored andcommitted
powerpc: Add missing prototype for arch_irq_work_raise()
[ Upstream commit f524686 ] In commit 4f8b50b ("irq_work, ppc: Fix up arch hooks") a new function arch_irq_work_raise() was added without a prototype in header irq_work.h. Fix the following warning (treated as error in W=1): arch/powerpc/kernel/time.c:523:6: error: no previous prototype for ‘arch_irq_work_raise’ Signed-off-by: Mathieu Malaterre <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a5ad661 commit 4f4697b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/include/asm/irq_work.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ static inline bool arch_irq_work_has_interrupt(void)
55
{
66
return true;
77
}
8+
extern void arch_irq_work_raise(void);
89

910
#endif /* _ASM_POWERPC_IRQ_WORK_H */

0 commit comments

Comments
 (0)