summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_core.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-07 18:29:15 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2011-01-07 11:33:56 +0100
commit24f9a7fe3f19f3fd310f556364d01a22911724b3 (patch)
tree4fa8aff338bd58d42fc95b930f29a39b91bacedd /drivers/edac/edac_core.h
parent8d5b5d9c7b86e44fda29a367db3ccd2815a52f7c (diff)
downloadlinux-24f9a7fe3f19f3fd310f556364d01a22911724b3.tar.gz
linux-24f9a7fe3f19f3fd310f556364d01a22911724b3.tar.bz2
linux-24f9a7fe3f19f3fd310f556364d01a22911724b3.zip
amd64_edac: Rework printk macros
Add a macro per printk level, shorten up error messages. Add relevant information to KERN_INFO level. No functional change. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/edac_core.h')
-rw-r--r--drivers/edac/edac_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h
index 251440cd50a3..e8d3dd0b5e9c 100644
--- a/drivers/edac/edac_core.h
+++ b/drivers/edac/edac_core.h
@@ -68,9 +68,10 @@
#define EDAC_PCI "PCI"
#define EDAC_DEBUG "DEBUG"
+extern const char *edac_mem_types[];
+
#ifdef CONFIG_EDAC_DEBUG
extern int edac_debug_level;
-extern const char *edac_mem_types[];
#define edac_debug_printk(level, fmt, arg...) \
do { \