diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-05-30 19:31:28 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2013-06-12 17:40:31 +0200 |
commit | f61701e0a24a09aa4a44baf24e57dcc5e706afa8 (patch) | |
tree | 49adf25453d9fd0cac186590bf98311b9b0ede65 | |
parent | arm64: KVM: Plug the VGIC (diff) | |
download | linux-f61701e0a24a09aa4a44baf24e57dcc5e706afa8.tar.xz linux-f61701e0a24a09aa4a44baf24e57dcc5e706afa8.zip |
ARM: KVM: timer: allow DT matching for ARMv8 cores
ARMv8 cores have the exact same timer as ARMv7 cores. Make sure the
KVM timer code can match it in the device tree.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r-- | arch/arm/kvm/arch_timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kvm/arch_timer.c b/arch/arm/kvm/arch_timer.c index c55b6089e923..49a7516d81c7 100644 --- a/arch/arm/kvm/arch_timer.c +++ b/arch/arm/kvm/arch_timer.c @@ -195,6 +195,7 @@ static struct notifier_block kvm_timer_cpu_nb = { static const struct of_device_id arch_timer_of_match[] = { { .compatible = "arm,armv7-timer", }, + { .compatible = "arm,armv8-timer", }, {}, }; |