Browse Source

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>
Marc Zyngier 12 years ago
parent
commit
f61701e0a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/kvm/arch_timer.c

+ 1 - 0
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",	},
 	{},
 };