OSDN Git Service

powerpc: Add missing prototype for arch_irq_work_raise()
authorMathieu Malaterre <malat@debian.org>
Sun, 25 Feb 2018 17:22:29 +0000 (18:22 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:37 +0000 (15:50 +1100)
In commit 4f8b50bbbe63 ("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 <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/irq_work.h

index c6d3078..b8b0be8 100644 (file)
@@ -6,5 +6,6 @@ static inline bool arch_irq_work_has_interrupt(void)
 {
        return true;
 }
+extern void arch_irq_work_raise(void);
 
 #endif /* _ASM_POWERPC_IRQ_WORK_H */