aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-04-08 06:31:24 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-05-28 12:24:11 -0400
commitba2d0f2b0c56d7174a0208f7c463271f39040728 (patch)
treed08c3297c7f644ce70952f0bf1ff2ff023d174a3 /arch/x86/include/asm
parentb659294b779565c60f5e12ef505328e2b974eb62 (diff)
x86, mce: Cleanup symbols in intel thermal codes
Decode magic constants and turn them into symbols. [ Cleanup to use symbols already exists - HS ] [ Impact: cleanup ] Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/msr-index.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
index ec41fc16c167..c86404695083 100644
--- a/arch/x86/include/asm/msr-index.h
+++ b/arch/x86/include/asm/msr-index.h
@@ -208,7 +208,14 @@
208 208
209#define MSR_IA32_THERM_CONTROL 0x0000019a 209#define MSR_IA32_THERM_CONTROL 0x0000019a
210#define MSR_IA32_THERM_INTERRUPT 0x0000019b 210#define MSR_IA32_THERM_INTERRUPT 0x0000019b
211
212#define THERM_INT_LOW_ENABLE (1 << 0)
213#define THERM_INT_HIGH_ENABLE (1 << 1)
214
211#define MSR_IA32_THERM_STATUS 0x0000019c 215#define MSR_IA32_THERM_STATUS 0x0000019c
216
217#define THERM_STATUS_PROCHOT (1 << 0)
218
212#define MSR_IA32_MISC_ENABLE 0x000001a0 219#define MSR_IA32_MISC_ENABLE 0x000001a0
213 220
214/* MISC_ENABLE bits: architectural */ 221/* MISC_ENABLE bits: architectural */