From: Fenghua Yu <fenghua.yu@intel.com>
To: H Peter Anvin <hpa@zytor.com>, Ingo Molnar <mingo@elte.hu>,
Thomas Gleixner <tglx@linutronix.de>,
Guenter Roeck <guenter.roeck@ericsson.com>
Cc: "R, Durgadoss" <durgadoss.r@intel.com>,
"khali@linux-fr.org" <khali@linux-fr.org>,
"lm-sensors@lm-sensors.org" <lm-sensors@lm-sensors.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] x86,mcheck,therm_throt.c: Export symbol platform_thermal_notify to allow coretemp to handler intr
Date: Thu, 20 Jan 2011 20:12:40 -0800 [thread overview]
Message-ID: <20110121041239.GB26954@linux-os.sc.intel.com> (raw)
In-Reply-To: <20110121022611.GC9496@ericsson.com>
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 <fenghua.yu@intel.com>
---
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);
+EXPORT_SYMBOL(platform_thermal_notify);
static DEFINE_PER_CPU(struct thermal_state, thermal_state);
next prev parent reply other threads:[~2011-01-21 4:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <D6D887BA8C9DFF48B5233887EF046541094482ED6A@bgsmsx502.gar.corp.intel.com>
2011-01-20 22:17 ` patch[1/1]:hwmon:Adding_Threshold_support_to_coretemp Fenghua Yu
2011-01-21 2:26 ` patch[1/1]:hwmon:Adding_Threshold_support_to_coretemp Guenter Roeck
2011-01-21 4:12 ` Fenghua Yu [this message]
2011-01-21 15:37 ` [tip:x86/urgent] x86, mcheck, therm_throt.c: Export symbol platform_thermal_notify to allow coretemp to handler intr tip-bot for Fenghua Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110121041239.GB26954@linux-os.sc.intel.com \
--to=fenghua.yu@intel.com \
--cc=durgadoss.r@intel.com \
--cc=guenter.roeck@ericsson.com \
--cc=hpa@zytor.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®