mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08: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
@ -145,7 +145,7 @@ static unsigned long kvm_get_tsc_khz(void)
|
|||||||
return pvclock_tsc_khz(this_cpu_pvti());
|
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;
|
unsigned long khz;
|
||||||
u64 lpj;
|
u64 lpj;
|
||||||
|
Loading…
Reference in New Issue
Block a user