lkml.org 
[lkml]   [2006]   [Nov]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 21 Nov 2006 08:43:19 +0100
FromIngo Molnar <>
SubjectRe: compile problems Re: 2.6.19-rc6-rt5
* Sergio Monteiro Basto <sergio@sergiomb.no-ip.org> wrote:

> Now with CONFIG_HOTPLUG_CPU=y I got:
>   UPD     include/linux/compile.h
> kernel/fork.c:72: error: section of 'tasklist_lock' conflicts with previous declaration
> make[1]: *** [kernel/fork.o] Error 1

this one should be fixed by the patch below.

	Ingo

Index: linux/kernel/fork.c
===================================================================
--- linux.orig/kernel/fork.c
+++ linux/kernel/fork.c
@@ -69,7 +69,7 @@ int max_threads;		/* tunable limit on nr
 
 DEFINE_PER_CPU(unsigned long, process_counts) = 0;
 
-__cacheline_aligned DEFINE_RWLOCK(tasklist_lock);  /* outer */
+DEFINE_RWLOCK(tasklist_lock);  /* outer */
 
 /*
  * Delayed mmdrop. In the PREEMPT_RT case we
-
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: 2006-11-21 07:47    [from the cache]
©2003-2008