Revision 001faf32 hw/sbi.c

b/hw/sbi.c
28 28
//#define DEBUG_IRQ
29 29

  
30 30
#ifdef DEBUG_IRQ
31
#define DPRINTF(fmt, args...) \
32
do { printf("IRQ: " fmt , ##args); } while (0)
31
#define DPRINTF(fmt, ...)                                       \
32
    do { printf("IRQ: " 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 MAX_CPUS 16

Also available in: Unified diff