Move time_init_gtod prototype into header No externs in .c files. Signed-off-by: Andi Kleen --- arch/x86_64/kernel/smpboot.c | 2 -- include/asm-x86_64/proto.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) Index: linux/arch/x86_64/kernel/smpboot.c =================================================================== --- linux.orig/arch/x86_64/kernel/smpboot.c +++ linux/arch/x86_64/kernel/smpboot.c @@ -1163,8 +1163,6 @@ int __cpuinit __cpu_up(unsigned int cpu) return err; } -extern void time_init_gtod(void); - /* * Finish the SMP boot. */ Index: linux/include/asm-x86_64/proto.h =================================================================== --- linux.orig/include/asm-x86_64/proto.h +++ linux/include/asm-x86_64/proto.h @@ -51,6 +51,7 @@ extern unsigned long long monotonic_base extern int sysctl_vsyscall; extern int nohpet; extern unsigned long vxtime_hz; +extern void time_init_gtod(void); extern int numa_setup(char *opt);