diff options
Diffstat (limited to 'arch/x86/include/asm/pci_x86.h')
| -rw-r--r-- | arch/x86/include/asm/pci_x86.h | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h index b3a53174602..5ad24a89b19 100644 --- a/arch/x86/include/asm/pci_x86.h +++ b/arch/x86/include/asm/pci_x86.h @@ -7,9 +7,13 @@  #undef DEBUG  #ifdef DEBUG -#define DBG(x...) printk(x) +#define DBG(fmt, ...) printk(fmt, ##__VA_ARGS__)  #else -#define DBG(x...) +#define DBG(fmt, ...)				\ +do {						\ +	if (0)					\ +		printk(fmt, ##__VA_ARGS__);	\ +} while (0)  #endif  #define PCI_PROBE_BIOS		0x0001  |