Messages in this thread Patch in this message | | | Date | Tue, 25 Mar 2008 08:53:08 -0400 | From | Mathieu Desnoyers <> | Subject | Re: [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
| |