aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/arm
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2014-11-28 11:45:53 +0000
committerAndrew Turner <andrew@FreeBSD.org>2014-11-28 11:45:53 +0000
commit56f0c37e9fb9c933cd9fdf70965f5cc7c603442b (patch)
treecebaee700b6549db59f4fcb06770a05e27961af1 /sys/arm/arm
parent70778bba03f1274a898744a8e7eab17de60ff080 (diff)
downloadsrc-56f0c37e9fb9c933cd9fdf70965f5cc7c603442b.tar.gz
src-56f0c37e9fb9c933cd9fdf70965f5cc7c603442b.zip
We don't use the hypervisor interrupt, make it optional in the device tree.
Submitted by: Julien Grall <julien.grall AT linaro.org> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=275207
Diffstat (limited to 'sys/arm/arm')
-rw-r--r--sys/arm/arm/generic_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/generic_timer.c b/sys/arm/arm/generic_timer.c
index d9b42fcedae0..5747b63f89e9 100644
--- a/sys/arm/arm/generic_timer.c
+++ b/sys/arm/arm/generic_timer.c
@@ -87,7 +87,7 @@ static struct resource_spec timer_spec[] = {
{ SYS_RES_IRQ, 0, RF_ACTIVE }, /* Secure */
{ SYS_RES_IRQ, 1, RF_ACTIVE }, /* Non-secure */
{ SYS_RES_IRQ, 2, RF_ACTIVE }, /* Virt */
- { SYS_RES_IRQ, 3, RF_ACTIVE }, /* Hyp */
+ { SYS_RES_IRQ, 3, RF_ACTIVE | RF_OPTIONAL }, /* Hyp */
{ -1, 0 }
};