aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers
diff options
context:
space:
mode:
authorTim Deegan <tim@xen.org>2013-09-12 12:05:18 +0100
committerTim Deegan <tim@xen.org>2013-09-17 16:36:40 +0100
commit730127d4a1f5fa60082c86e03e3b872b8e934819 (patch)
tree556da607a8b4a3f4c1e02a8380ac0d356380040f /xen/drivers
parent72fa4fdf647ba99ecaf39589a93cde8dd36eed3c (diff)
downloadxen-730127d4a1f5fa60082c86e03e3b872b8e934819.tar.gz
xen-730127d4a1f5fa60082c86e03e3b872b8e934819.tar.bz2
xen-730127d4a1f5fa60082c86e03e3b872b8e934819.zip
passthrough/amd: Shuffle declaration.
Coverity's parser chokes on seeing __section() before the type. Coverity CID 1087190 Signed-off-by: Tim Deegan <tim@xen.org> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Diffstat (limited to 'xen/drivers')
-rw-r--r--xen/drivers/passthrough/amd/iommu_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/passthrough/amd/iommu_acpi.c b/xen/drivers/passthrough/amd/iommu_acpi.c
index bd66c65888..c3b9631c14 100644
--- a/xen/drivers/passthrough/amd/iommu_acpi.c
+++ b/xen/drivers/passthrough/amd/iommu_acpi.c
@@ -633,7 +633,7 @@ static u16 __init parse_ivhd_device_extended_range(
return dev_length;
}
-static __initdata DECLARE_BITMAP(ioapic_cmdline, ARRAY_SIZE(ioapic_sbdf));
+static DECLARE_BITMAP(ioapic_cmdline, ARRAY_SIZE(ioapic_sbdf)) __initdata;
static void __init parse_ivrs_ioapic(char *str)
{