Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Add missing prototype for hdec_interrupt

In commit dabe859ec636 ("powerpc: Give hypervisor decrementer interrupts
their own handler") an empty body function was added, but no prototype
was declared. Fix warning (treated as error in W=1):

arch/powerpc/kernel/time.c:629:6: error: no previous prototype for ‘hdec_interrupt’

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Mathieu Malaterre and committed by
Michael Ellerman
8b604faf 45b4d27a

+1
+1
arch/powerpc/include/asm/time.h
··· 31 31 extern void tick_broadcast_ipi_handler(void); 32 32 33 33 extern void generic_calibrate_decr(void); 34 + extern void hdec_interrupt(struct pt_regs *regs); 34 35 35 36 /* Some sane defaults: 125 MHz timebase, 1GHz processor */ 36 37 extern unsigned long ppc_proc_freq;