]> git.hungrycats.org Git - linux/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:49:12 +0000 (07:49 +0200)
[ Upstream commit f5246862f82f1e16bbf84cda4cddf287672b30fe ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/irq_work.h

index 744fd54de374146704587038dea87510610829e8..1bcc84903930ea8ac9b0e152be3576d975ca73bd 100644 (file)
@@ -5,5 +5,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 */