[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] x86,mcheck,therm_throt.c: Export symbol platform_thermal_notify to allow coretemp to handler intr
In therm_throt.c, commit 9e76a97efd31a08cb19d0ba12013b8fb4ad3e474 patch
doesn't export the symbol platform_thermal_notify.

Other drivers (e.g. drivers/hwmon/coretemp.c) can not find the symbol
platform_thermal_notify when defining threshould interrupt handler.

Please apply this patch to allow threshold interrupt handler in coretemp.

Signed-off-by: Fenghua Yu <>

arch/x86/kernel/cpu/mcheck/therm_throt.c | 1 +
1 files changed, 1 insertion(+)

diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c
index e12246f..6f8c5e9 100644
--- a/arch/x86/kernel/cpu/mcheck/therm_throt.c
+++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c
@@ -59,6 +59,7 @@ struct thermal_state {

/* Callback to handle core threshold interrupts */
int (*platform_thermal_notify)(__u64 msr_val);

static DEFINE_PER_CPU(struct thermal_state, thermal_state);

 \ /
  Last update: 2011-01-21 05:15    [W:0.046 / U:0.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site