diff options
author | davem <davem> | 2002-01-12 05:02:02 +0000 |
---|---|---|
committer | davem <davem> | 2002-01-12 05:02:02 +0000 |
commit | 6273d7281b78f444b31e10e5529262746337de3a (patch) | |
tree | 2bce192918dd50105b6332e8651cb0c4c84770a8 | |
parent | 88765ad4c8b1650cf7272b862d8385d63c0965a2 (diff) | |
download | netdev-vger-cvs-6273d7281b78f444b31e10e5529262746337de3a.tar.gz |
Remove my debugging code :-)
-rw-r--r-- | init/main.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/init/main.c b/init/main.c index 14b9a11aa..f36a314cf 100644 --- a/init/main.c +++ b/init/main.c @@ -328,7 +328,6 @@ static void __init smp_init(void) static void rest_init(void) { - init_idle(); /* This will also wait for all other CPUs */ kernel_thread(init, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGNAL); unlock_kernel(); cpu_idle(); @@ -418,6 +417,16 @@ asmlinkage void __init start_kernel(void) * make syscalls (and thus be locked). */ smp_init(); + + /* + * Finally, we wait for all other CPU's, and initialize this + * thread that will become the idle thread for the boot CPU. + * After this, the scheduler is fully initialized, and we can + * start creating and running new threads. + */ + init_idle(); + + /* Do the rest non-__init'ed, we're now alive */ rest_init(); } @@ -429,21 +438,12 @@ static void __init do_initcalls(void) call = &__initcall_start; do { -#if 0 - printk("INITCALL: Invoking %p\n", *call); -#endif (*call)(); call++; } while (call < &__initcall_end); /* Make sure there is no pending stuff from the initcall sequence */ -#if 0 - printk("INITCALL: Flushing scheduled tasks..."); -#endif flush_scheduled_tasks(); -#if 0 - printk("done.\n"); -#endif } /* |