]> git.baikalelectronics.ru Git - kernel.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:42:31 +0000 (15:42 +0200)
commita0f5204fcf40e91b866e271bb74ff59cfaac9bd7
tree944ed1f8d451fe39994b8e4e8f0dfa73ce6d4fe4
parente946869dae7c14e79b0ecef4dd046be4fbe76d57
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