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

powerpc: Add missing prototype for time_init()

The function time_init did not have a prototype defined in the time.h
header. Fix the following warning (treated as error in W=1):

arch/powerpc/kernel/time.c:1068:13: error: no previous prototype for ‘time_init’

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
848092fa 8b604faf

+1
+1
arch/powerpc/include/asm/time.h
··· 205 205 DECLARE_PER_CPU(struct cpu_usage, cpu_usage_array); 206 206 207 207 extern void secondary_cpu_time_init(void); 208 + extern void __init time_init(void); 208 209 209 210 DECLARE_PER_CPU(u64, decrementers_next_tb); 210 211