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:55:48 +0000 (15:55 +0200)
commit782122ae7db0c4af199a0fdb4d03fcc1e2c7b734
tree8ccd2b1176779688580f5205c604b18bbc825878
parent57de2dcb18742dc2860861c9f496da7d42b67da0
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