summaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2013-05-30 18:31:28 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2013-06-12 16:40:31 +0100
commitf61701e0a24a09aa4a44baf24e57dcc5e706afa8 (patch)
tree49adf25453d9fd0cac186590bf98311b9b0ede65 /arch/arm/kvm
parent1f17f3b6044d8a81a74dc6c962b3b38a7336106b (diff)
downloadlinux-f61701e0a24a09aa4a44baf24e57dcc5e706afa8.tar.gz
linux-f61701e0a24a09aa4a44baf24e57dcc5e706afa8.tar.bz2
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>
Diffstat (limited to 'arch/arm/kvm')
-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 = {
static const struct of_device_id arch_timer_of_match[] = {
{ .compatible = "arm,armv7-timer", },
+ { .compatible = "arm,armv8-timer", },
{},
};