aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-02-05 12:16:53 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-02-05 12:16:53 +0000
commit0c8eb5a51abb58eb7076b92d82b63f49ea99ed3e (patch)
treeca5fa58d4e494c4a895e6e314ce8a9739931511e
parent1bb7e0437bb0b3cda7eb47caaac9516d5bb1970a (diff)
downloadxen-0c8eb5a51abb58eb7076b92d82b63f49ea99ed3e.tar.gz
xen-0c8eb5a51abb58eb7076b92d82b63f49ea99ed3e.tar.bz2
xen-0c8eb5a51abb58eb7076b92d82b63f49ea99ed3e.zip
Remove uses of DECLARE_BITMAP in the public HVM save format headers
and replace them with open-coded equivalents. DECLARE_BITMAP is not exported to user-space consumers of the Xen headers. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
-rw-r--r--xen/include/public/arch-x86/hvm/save.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/public/arch-x86/hvm/save.h b/xen/include/public/arch-x86/hvm/save.h
index 9b78787b44..bfdc7267c9 100644
--- a/xen/include/public/arch-x86/hvm/save.h
+++ b/xen/include/public/arch-x86/hvm/save.h
@@ -287,7 +287,7 @@ struct hvm_hw_pci_irqs {
* Indexed by: device*4 + INTx#.
*/
union {
- DECLARE_BITMAP(i, 32*4);
+ unsigned long i[16 / sizeof (unsigned long)]; /* DECLARE_BITMAP(i, 32*4); */
uint64_t pad[2];
};
};
@@ -300,7 +300,7 @@ struct hvm_hw_isa_irqs {
* Indexed by ISA IRQ (assumes no ISA-device IRQ sharing).
*/
union {
- DECLARE_BITMAP(i, 16);
+ unsigned long i[1]; /* DECLARE_BITMAP(i, 16); */
uint64_t pad[1];
};
};