]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/kvmclock: Move this_cpu_pvti into kvmclock.h
authorZelin Deng <zelin.deng@linux.alibaba.com>
Wed, 29 Sep 2021 05:13:48 +0000 (13:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Oct 2021 13:31:21 +0000 (15:31 +0200)
commitf6ba8a8c3782287a72aed2b99fac7dd5e29d1e9d
treecbb06d1d1b3be289a3a504b80a20b1a32ced480f
parent3d5d629c99c468458022e9b381789de3595bf4dd
x86/kvmclock: Move this_cpu_pvti into kvmclock.h

commit ad9af930680bb396c87582edc172b3a7cf2a3fbf upstream.

There're other modules might use hv_clock_per_cpu variable like ptp_kvm,
so move it into kvmclock.h and export the symbol to make it visiable to
other modules.

Signed-off-by: Zelin Deng <zelin.deng@linux.alibaba.com>
Cc: <stable@vger.kernel.org>
Message-Id: <1632892429-101194-2-git-send-email-zelin.deng@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/kvmclock.h
arch/x86/kernel/kvmclock.c