projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86/debug: Add KERN_<LEVEL> to bare printks, convert printks to pr_<level>
[linux-2.6-block.git]
/
arch
/
x86
/
include
/
asm
/
pci_x86.h
diff --git
a/arch/x86/include/asm/pci_x86.h
b/arch/x86/include/asm/pci_x86.h
index b3a531746026105ba70b4d29293696bc02e32779..5ad24a89b19b323eefbf775a92b7287c1cc95c65 100644
(file)
--- a/
arch/x86/include/asm/pci_x86.h
+++ b/
arch/x86/include/asm/pci_x86.h
@@
-7,9
+7,13
@@
#undef DEBUG
#ifdef DEBUG
#undef DEBUG
#ifdef DEBUG
-#define DBG(
x...) printk(x
)
+#define DBG(
fmt, ...) printk(fmt, ##__VA_ARGS__
)
#else
#else
-#define DBG(x...)
+#define DBG(fmt, ...) \
+do { \
+ if (0) \
+ printk(fmt, ##__VA_ARGS__); \
+} while (0)
#endif
#define PCI_PROBE_BIOS 0x0001
#endif
#define PCI_PROBE_BIOS 0x0001