patch-1.3.96 linux/arch/sparc/kernel/smp.c

Next file: linux/arch/sparc/kernel/sparc-stub.c
Previous file: linux/arch/sparc/kernel/signal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.95/linux/arch/sparc/kernel/smp.c linux/arch/sparc/kernel/smp.c
@@ -93,7 +93,7 @@
 	sprintf(smp_buf,
 "\n        CPU0\t\tCPU1\t\tCPU2\t\tCPU3\n"
 "State: %s\t\t%s\t\t%s\t\t%s\n"
-"Lock:  %08lx\t\t%08lx\t%08lx\t\t%08lx\n"
+"Lock:  %08lx\t\t%08lx\t%08lx\t%08lx\n"
 "\n"
 "klock: %x\n",
 		(cpu_present_map & 1) ? ((active_kernel_processor == 0) ? "akp" : "online") : "offline",
@@ -236,7 +236,6 @@
 			/* whirrr, whirrr, whirrrrrrrrr... */
 			printk("Starting CPU %d at %p\n", i, entry);
 			mid_xlate[i] = (linux_cpus[i].mid & ~8);
-			current_set[i] = &init_task;
 			local_flush_cache_all();
 			prom_startcpu(linux_cpus[i].prom_node,
 				      &penguin_ctable, 0, (char *)entry);
@@ -255,7 +254,6 @@
 			} else {
 				printk("Penguin %d is stuck in the bottle.\n", i);
 			}
-			current_set[i] = 0;
 		}
 		if(!(cpu_callin_map[i])) {
 			cpu_present_map &= ~(1 << i);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this