Commit f5246862 authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Michael Ellerman

powerpc: Add missing prototype for arch_irq_work_raise()

In commit 4f8b50bb ("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: default avatarMathieu Malaterre <malat@debian.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent fd70d9f9
...@@ -6,5 +6,6 @@ static inline bool arch_irq_work_has_interrupt(void) ...@@ -6,5 +6,6 @@ static inline bool arch_irq_work_has_interrupt(void)
{ {
return true; return true;
} }
extern void arch_irq_work_raise(void);
#endif /* _ASM_POWERPC_IRQ_WORK_H */ #endif /* _ASM_POWERPC_IRQ_WORK_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment