lkml.org 
[lkml]   [2005]   [Nov]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 2 Nov 2005 07:48:54 +0100
FromIngo Molnar <>
SubjectRe: [PATCH] cpu hoptlug: avoid usage of smp_processor_id() in preemptible code
* Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> 
> Replace smp_processor_id() with any_online_cpu(cpu_online_map) in 
> order to avoid lots of "BUG: using smp_processor_id() in preemptible 
> [00000001] code:..." messages in case taking a cpu online fails.

could you post the full message, including the stacktrace? I think this 
patch just works around the debugging message, and there might be some 
real bug to fix.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-02 07:53    [from the cache]
©2003-2008