ia64/xen-unstable

changeset 19171:7eb8b094a207

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>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 05 12:16:53 2009 +0000 (2009-02-05)
parents 1dfcb2444c6e
children 2358b9fcd51b
files xen/include/public/arch-x86/hvm/save.h
line diff
     1.1 --- a/xen/include/public/arch-x86/hvm/save.h	Thu Feb 05 12:16:28 2009 +0000
     1.2 +++ b/xen/include/public/arch-x86/hvm/save.h	Thu Feb 05 12:16:53 2009 +0000
     1.3 @@ -287,7 +287,7 @@ struct hvm_hw_pci_irqs {
     1.4       * Indexed by: device*4 + INTx#.
     1.5       */
     1.6      union {
     1.7 -        DECLARE_BITMAP(i, 32*4);
     1.8 +        unsigned long i[16 / sizeof (unsigned long)]; /* DECLARE_BITMAP(i, 32*4); */
     1.9          uint64_t pad[2];
    1.10      };
    1.11  };
    1.12 @@ -300,7 +300,7 @@ struct hvm_hw_isa_irqs {
    1.13       * Indexed by ISA IRQ (assumes no ISA-device IRQ sharing).
    1.14       */
    1.15      union {
    1.16 -        DECLARE_BITMAP(i, 16);
    1.17 +        unsigned long i[1];  /* DECLARE_BITMAP(i, 16); */
    1.18          uint64_t pad[1];
    1.19      };
    1.20  };