mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
x86/kvmclock: Mark kvm_get_preset_lpj() as __init
kvm_get_preset_lpj() is only called from kvmclock_init(), so mark it __init as well. Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Pavel Tatashin <pasha.tatashin@oracle.com> Cc: <hpa@zytor.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář<rkrcmar@redhat.com> Cc: <kvm@vger.kernel.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: kvm@vger.kernel.org Link: https://lkml.kernel.org/r/20180730075421.22830-3-douly.fnst@cn.fujitsu.com
This commit is contained in:
parent
608008a457
commit
1088c6eef2
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ static unsigned long kvm_get_tsc_khz(void)
|
|||
return pvclock_tsc_khz(this_cpu_pvti());
|
||||
}
|
||||
|
||||
static void kvm_get_preset_lpj(void)
|
||||
static void __init kvm_get_preset_lpj(void)
|
||||
{
|
||||
unsigned long khz;
|
||||
u64 lpj;
|
||||
|
|
Loading…
Reference in a new issue