]> 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)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Sep 2021 08:08:01 +0000 (04:08 -0400)
commit28db5de8be10325d9427c6da332be5690cd0f12a
tree0f119971bcc9470cefb69a42db883b1bd4918625
parent9a9093955e5b0f55a6c0baa4d763017ab377f8b4
x86/kvmclock: Move this_cpu_pvti into kvmclock.h

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>
arch/x86/include/asm/kvmclock.h
arch/x86/kernel/kvmclock.c