lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-f21bbec9ffcaf73e99938209e52b757d93f9133b@git.kernel.org>
Date:	Fri, 21 Jan 2011 15:37:10 GMT
From:	tip-bot for Fenghua Yu <fenghua.yu@...el.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, durgadoss.r@...el.com, hpa@...or.com,
	mingo@...hat.com, lm-sensors@...sensors.org, fenghua.yu@...el.com,
	khali@...ux-fr.org, tglx@...utronix.de, guenter.roeck@...csson.com,
	mingo@...e.hu
Subject: [tip:x86/urgent] x86, mcheck, therm_throt.c: Export symbol platform_thermal_notify to allow coretemp to handler intr

Commit-ID:  f21bbec9ffcaf73e99938209e52b757d93f9133b
Gitweb:     http://git.kernel.org/tip/f21bbec9ffcaf73e99938209e52b757d93f9133b
Author:     Fenghua Yu <fenghua.yu@...el.com>
AuthorDate: Thu, 20 Jan 2011 20:12:40 -0800
Committer:  Ingo Molnar <mingo@...e.hu>
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 <fenghua.yu@...el.com>
Cc: R Durgadoss <durgadoss.r@...el.com>
Cc: khali@...ux-fr.org <khali@...ux-fr.org>
Cc: lm-sensors@...sensors.org <lm-sensors@...sensors.org>
Cc: Guenter Roeck <guenter.roeck@...csson.com>
LKML-Reference: <20110121041239.GB26954@...ux-os.sc.intel.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
 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);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ