x86/platform/UV: Mark tsc_check_sync as an init function
authormike.travis@hpe.com <mike.travis@hpe.com>
Mon, 23 Oct 2017 19:18:42 +0000 (14:18 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 24 Oct 2017 07:10:51 +0000 (09:10 +0200)
commitb3270a5210229ee543339d34b74ba527f978c55b
treed89c5bb42ff5cc29ecb0b61cd446625df5227041
parentc0fc9b1350a317da22b310d68117b0d01cb9065e
x86/platform/UV: Mark tsc_check_sync as an init function

Fix build problem:

>> WARNING: vmlinux.o(.text+0x4223a): Section mismatch in
   reference from the function uv_tsc_check_sync() to the function
   .init.text:uv_early_read_mmr() The function uv_tsc_check_sync()
   references the function __init uv_early_read_mmr().  This is often
   because uv_tsc_check_sync lacks a __init

Signed-off-by: Mike Travis <mike.travis@hpe.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Dimitri Sivanich <dimitri.sivanich@hpe.com>
Cc: Russ Anderson <russ.anderson@hpe.com>
Cc: Andrew Banman <andrew.banman@hpe.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Bin Gao <bin.gao@linux.intel.com>
Link: https://lkml.kernel.org/r/20171023191841.985614692@stormcage.americas.sgi.com
arch/x86/kernel/apic/x2apic_uv_x.c