From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753357Ab1AUPiW (ORCPT ); Fri, 21 Jan 2011 10:38:22 -0500 Received: from hera.kernel.org ([140.211.167.34]:51730 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800Ab1AUPiU (ORCPT ); Fri, 21 Jan 2011 10:38:20 -0500 Date: Fri, 21 Jan 2011 15:37:10 GMT From: tip-bot for Fenghua Yu Cc: linux-kernel@vger.kernel.org, durgadoss.r@intel.com, hpa@zytor.com, mingo@redhat.com, lm-sensors@lm-sensors.org, fenghua.yu@intel.com, khali@linux-fr.org, tglx@linutronix.de, guenter.roeck@ericsson.com, mingo@elte.hu Reply-To: mingo@redhat.com, hpa@zytor.com, durgadoss.r@intel.com, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, fenghua.yu@intel.com, khali@linux-fr.org, tglx@linutronix.de, guenter.roeck@ericsson.com, mingo@elte.hu In-Reply-To: <20110121041239.GB26954@linux-os.sc.intel.com> References: <20110121041239.GB26954@linux-os.sc.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86, mcheck, therm_throt.c: Export symbol platform_thermal_notify to allow coretemp to handler intr Message-ID: Git-Commit-ID: f21bbec9ffcaf73e99938209e52b757d93f9133b X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (hera.kernel.org [127.0.0.1]); Fri, 21 Jan 2011 15:37:12 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: f21bbec9ffcaf73e99938209e52b757d93f9133b Gitweb: http://git.kernel.org/tip/f21bbec9ffcaf73e99938209e52b757d93f9133b Author: Fenghua Yu AuthorDate: Thu, 20 Jan 2011 20:12:40 -0800 Committer: Ingo Molnar CommitDate: Fri, 21 Jan 2011 14:11:12 +0100 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 Cc: R Durgadoss Cc: khali@linux-fr.org Cc: lm-sensors@lm-sensors.org Cc: Guenter Roeck LKML-Reference: <20110121041239.GB26954@linux-os.sc.intel.com> Signed-off-by: Ingo Molnar --- arch/x86/kernel/cpu/mcheck/therm_throt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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);