<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1154  -&gt; 1.1155 
#	arch/i386/kernel/smpboot.c	1.15    -&gt; 1.16   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/12/02	len.brown@intel.com	1.1155
# [ACPI] handle sparse APIC-IDs in the face of reduced NR_CPUS
# --------------------------------------------
#
diff -Nru a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c
--- a/arch/i386/kernel/smpboot.c	Tue Dec  2 21:22:39 2003
+++ b/arch/i386/kernel/smpboot.c	Tue Dec  2 21:22:39 2003
@@ -1106,7 +1106,7 @@
 	 */
 	Dprintk("CPU present map: %lx\n", phys_cpu_present_map);
 
-	for (bit = 0; bit &lt; NR_CPUS; bit++) {
+	for (bit = 0; bit &lt; MAX_APICS; bit++) {
 		apicid = cpu_present_to_apicid(bit);
 		/*
 		 * Don't even attempt to start the boot CPU!
</pre></body></html>