Revision 001faf32 hw/iommu.c

b/hw/iommu.c
28 28
//#define DEBUG_IOMMU
29 29

  
30 30
#ifdef DEBUG_IOMMU
31
#define DPRINTF(fmt, args...) \
32
do { printf("IOMMU: " fmt , ##args); } while (0)
31
#define DPRINTF(fmt, ...)                                       \
32
    do { printf("IOMMU: " fmt , ## __VA_ARGS__); } while (0)
33 33
#else
34
#define DPRINTF(fmt, args...)
34
#define DPRINTF(fmt, ...)
35 35
#endif
36 36

  
37 37
#define IOMMU_NREGS         (4*4096/4)

Also available in: Unified diff