summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-02-10 16:39:02 +0000
committerandrew <andrew@FreeBSD.org>2016-02-10 16:39:02 +0000
commit3f190828b4c4ce19c69f9a5757ca9e6f98b34c60 (patch)
treedd96746f140448fd235f5978b19fbd2bc3926af8 /sys/arm
parent543e5708630fa79fbb522858c45e6a0bbbda3c03 (diff)
downloadFreeBSD-src-3f190828b4c4ce19c69f9a5757ca9e6f98b34c60.zip
FreeBSD-src-3f190828b4c4ce19c69f9a5757ca9e6f98b34c60.tar.gz
Only use fdt_pic_table when not using ARM_INTRNG
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/qemu/virt_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/qemu/virt_common.c b/sys/arm/qemu/virt_common.c
index 0f40724..8f84355 100644
--- a/sys/arm/qemu/virt_common.c
+++ b/sys/arm/qemu/virt_common.c
@@ -41,7 +41,9 @@ struct fdt_fixup_entry fdt_fixup_table[] = {
{ NULL, NULL }
};
+#ifdef ARM_INTRNG
fdt_pic_decode_t fdt_pic_table[] = {
&gic_decode_fdt,
NULL
};
+#endif
OpenPOWER on IntegriCloud