aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2013-05-30 13:31:28 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2013-06-12 11:40:31 -0400
commitf61701e0a24a09aa4a44baf24e57dcc5e706afa8 (patch)
tree49adf25453d9fd0cac186590bf98311b9b0ede65 /arch
parent1f17f3b6044d8a81a74dc6c962b3b38a7336106b (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kvm/arch_timer.c1
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 = {
195 195
196static const struct of_device_id arch_timer_of_match[] = { 196static const struct of_device_id arch_timer_of_match[] = {
197 { .compatible = "arm,armv7-timer", }, 197 { .compatible = "arm,armv7-timer", },
198 { .compatible = "arm,armv8-timer", },
198 {}, 199 {},
199}; 200};
200 201