aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-06 19:24:51 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-06 19:24:51 -0400
commite8779776afbd5f2d5315cf48c4257ca7e9b250fb (patch)
treea439733c6c71dd7d24ba65557159c30c2e49861a /include/linux/kernel.h
parent3cf8ad3394b8675e92a35c438f22341197535531 (diff)
parenta2d7b0d4852536273b65d16fe179c65184fe5e2d (diff)
Merge branch 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86, mce: Use HW_ERR in MCE handler x86, mce: Add HW_ERR printk prefix for hardware error logging x86, mce: Fix MSR_IA32_MCI_CTL2 CMCI threshold setup x86, mce: Rename MSR_IA32_MCx_CTL2 value
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 38e462e00594..7d5b10ff63e0 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -252,6 +252,13 @@ extern struct pid *session_of_pgrp(struct pid *pgrp);
252#define FW_WARN "[Firmware Warn]: " 252#define FW_WARN "[Firmware Warn]: "
253#define FW_INFO "[Firmware Info]: " 253#define FW_INFO "[Firmware Info]: "
254 254
255/*
256 * HW_ERR
257 * Add this to a message for hardware errors, so that user can report
258 * it to hardware vendor instead of LKML or software vendor.
259 */
260#define HW_ERR "[Hardware Error]: "
261
255#ifdef CONFIG_PRINTK 262#ifdef CONFIG_PRINTK
256asmlinkage int vprintk(const char *fmt, va_list args) 263asmlinkage int vprintk(const char *fmt, va_list args)
257 __attribute__ ((format (printf, 1, 0))); 264 __attribute__ ((format (printf, 1, 0)));