lkml.org 
[lkml]   [2008]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH,RFC] Initialize call_rcu_sched sooner
Initialize call_rcu_sched sooner so it can be used in module_init stage.

(needed for LTTng)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
---
init/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6-lttng/init/main.c
===================================================================
--- linux-2.6-lttng.orig/init/main.c 2008-03-25 08:49:02.000000000 -0400
+++ linux-2.6-lttng/init/main.c 2008-03-25 08:49:20.000000000 -0400
@@ -738,13 +738,13 @@ static void __init do_initcalls(void)
*/
static void __init do_basic_setup(void)
{
+ rcu_init_sched();
/* drivers will send hotplug events */
init_workqueues();
usermodehelper_init();
driver_init();
init_irq_proc();
do_initcalls();
- rcu_init_sched();
}

static int __initdata nosoftlockup;
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68

\
 
 \ /
  Last update: 2008-03-25 13:55    [W:0.054 / U:0.844 seconds]
©2003-2014 Jasper Spaans. Advertise on this site