* [merged] x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt.patch removed from -mm tree
@ 2010-04-27 15:01 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-04-27 15:01 UTC (permalink / raw)
To: jacob.jun.pan, hpa, jaegerandi, mingo, tglx, mm-commits
The patch titled
x86/apbt: conditionally register cpu hp notifier for apbt
has been removed from the -mm tree. Its filename was
x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: x86/apbt: conditionally register cpu hp notifier for apbt
From: Jacob Pan <jacob.jun.pan@linux.intel.com>
APB timer is used on Moorestown platforms but not on a standard PC.
If APB timer code is compiled in but not initialized at run-time due
to lack of FW reported SFI table, kernel would panic when the non-boot
CPUs are offlined and notifier is called.
This patch ensures CPU hotplug notifier for APB timer is only registered
when the APBT timer block is initialized.
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=15786
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reported-by: Andreas Jaeger <jaegerandi@gmail.com>
Tested-by: Andreas Jaeger <jaegerandi@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/x86/kernel/apb_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/x86/kernel/apb_timer.c~x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt arch/x86/kernel/apb_timer.c
--- a/arch/x86/kernel/apb_timer.c~x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt
+++ a/arch/x86/kernel/apb_timer.c
@@ -429,7 +429,7 @@ static int apbt_cpuhp_notify(struct noti
static __init int apbt_late_init(void)
{
- if (disable_apbt_percpu)
+ if (disable_apbt_percpu || !apb_timer_block_enabled)
return 0;
/* This notifier should be called after workqueue is ready */
hotcpu_notifier(apbt_cpuhp_notify, -20);
_
Patches currently in -mm which might be from jacob.jun.pan@linux.intel.com are
linux-next.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-27 18:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 15:01 [merged] x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox