patch-2.3.39 linux/arch/i386/kernel/smpboot.c

Next file: linux/arch/m68k/kernel/entry.S
Previous file: linux/arch/i386/kernel/smp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/arch/i386/kernel/smpboot.c linux/arch/i386/kernel/smpboot.c
@@ -55,7 +55,7 @@
 int skip_ioapic_setup = 0;
 
 /* Total count of live CPUs */
-int smp_num_cpus = 0;
+int smp_num_cpus = 1;
 /* Internal processor count */
 static unsigned int num_processors = 1;
 
@@ -80,8 +80,6 @@
 /* Processor that is doing the boot up */
 static unsigned int boot_cpu_id = 0;
 
-/* Tripped once we need to start cross invalidating */
-static int smp_activated = 0;
 /* Set when the idlers are all forked */
 int smp_threads_ready = 0;
 
@@ -1641,7 +1639,6 @@
 			(bogosum+2500)/500000,
 			((bogosum+2500)/5000)%100);
 		dprintk("Before bogocount - setting activated=1.\n");
-		smp_activated = 1;
 	}
 	smp_num_cpus = cpucount + 1;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)