diff options
author | Jintack Lim <jintack@cs.columbia.edu> | 2017-02-03 10:20:00 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-02-08 15:13:33 +0000 |
commit | 90de943a430028ee389b22bf4a7ae5867c32ce0c (patch) | |
tree | 80c64f76f1be349523dd346933858ed9c730fb1f /arch/arm/include/asm/kvm_host.h | |
parent | fbb4aeec5fc2ab47615b2a0cbabc503e1eef4c60 (diff) | |
download | op-kernel-dev-90de943a430028ee389b22bf4a7ae5867c32ce0c.zip op-kernel-dev-90de943a430028ee389b22bf4a7ae5867c32ce0c.tar.gz |
KVM: arm/arm64: Move cntvoff to each timer context
Make cntvoff per each timer context. This is helpful to abstract kvm
timer functions to work with timer context without considering timer
types (e.g. physical timer or virtual timer).
This also would pave the way for ever doing adjustments of the cntvoff
on a per-CPU basis if that should ever make sense.
Signed-off-by: Jintack Lim <jintack@cs.columbia.edu>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm/include/asm/kvm_host.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h index d5423ab..cc495d79 100644 --- a/arch/arm/include/asm/kvm_host.h +++ b/arch/arm/include/asm/kvm_host.h @@ -60,9 +60,6 @@ struct kvm_arch { /* The last vcpu id that ran on each physical CPU */ int __percpu *last_vcpu_ran; - /* Timer */ - struct arch_timer_kvm timer; - /* * Anything that is not used directly from assembly code goes * here. |