Remove uses of DECLARE_BITMAP in the public HVM save format headers
PATCH 2/4 Remove uses of DECLARE_BITMAP in the public HVM save format headers
# HG changeset patch
# User Tim Deegan <[email protected]>
# 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 <[email protected]>
xen/include/public/arch-x86/hvm/save.h +2 -2
@@ -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 ]; }; };
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel