patch-2.4.25 linux-2.4.25/arch/ia64/mm/tlb.c

Next file: linux-2.4.25/arch/ia64/tools/Makefile
Previous file: linux-2.4.25/arch/ia64/mm/init.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/ia64/mm/tlb.c linux-2.4.25/arch/ia64/mm/tlb.c
@@ -75,7 +75,7 @@
 	 * and because interrupts are disabled during context switch.
 	 */
 	for (i = 0; i < NR_CPUS; ++i)
-		if (i != smp_processor_id())
+		if (cpu_online(i) && (i != smp_processor_id()))
 			cpu_data(i)->need_tlb_flush = 1;
 	local_flush_tlb_all();
 }

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