# HG changeset patch # User Tim Deegan # Date 1233764811 0 # Node ID f7142816164dee4a9c60c3e2fc1846d703e39d35 # Parent 7265fb34414b00e413bd40e2804eb3df0cdca243 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 diff -r 7265fb34414b -r f7142816164d xen/include/public/arch-x86/hvm/save.h --- a/xen/include/public/arch-x86/hvm/save.h Wed Feb 04 16:25:08 2009 +0000 +++ b/xen/include/public/arch-x86/hvm/save.h Wed Feb 04 16:26:51 2009 +0000 @@ -287,7 +287,7 @@ * 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 @@ * 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]; }; };