From: <aot...@us...> - 2004-02-14 17:57:10
|
Update of /cvsroot/gc-linux/linux/init In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25980/init Modified Files: main.c Log Message: Merge 2.6.2 Index: main.c =================================================================== RCS file: /cvsroot/gc-linux/linux/init/main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- main.c 29 Jan 2004 01:02:50 -0000 1.2 +++ main.c 14 Feb 2004 17:50:21 -0000 1.3 @@ -105,7 +105,7 @@ extern void time_init(void); /* Default late time init is NULL. archs can override this later. */ -void (*late_time_init)(void) = NULL; +void (*late_time_init)(void); extern void softirq_init(void); static char *execute_command; @@ -339,7 +339,7 @@ /* Called by boot processor to activate the rest. */ static void __init smp_init(void) { - unsigned int i; + unsigned int i, j=0; /* FIXME: This should be done in userspace --RR */ for (i = 0; i < NR_CPUS; i++) { @@ -348,11 +348,12 @@ if (cpu_possible(i) && !cpu_online(i)) { printk("Bringing up %i\n", i); cpu_up(i); + j++; } } /* Any cleanup work */ - printk("CPUS done %u\n", max_cpus); + printk("CPUS done %u\n", j); smp_cpus_done(max_cpus); #if 0 /* Get other processors into their bootup holding patterns. */ @@ -411,6 +412,7 @@ parse_args("Booting kernel", command_line, __start___param, __stop___param - __start___param, &unknown_bootoption); + sort_main_extable(); trap_init(); rcu_init(); init_IRQ(); |