diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c index c784edd..7fd0fac 100644 --- a/arch/powerpc/platforms/cell/spufs/sched.c +++ b/arch/powerpc/platforms/cell/spufs/sched.c @@ -930,6 +930,7 @@ int __init spu_sched_init(void) } spin_lock_init(&spu_prio->runq_lock); + init_timer(&spusched_timer); setup_timer(&spusched_timer, spusched_wake, 0); spusched_task = kthread_run(spusched_thread, NULL, "spusched"); @@ -938,6 +939,8 @@ int __init spu_sched_init(void) goto out_free_spu_prio; } + mod_timer(&spusched_timer, 0); + entry = create_proc_entry("spu_loadavg", 0, NULL); if (!entry) goto out_stop_kthread;