Skip to contentSkip to conversation

fix visws in 2.6.5

PATCH In review Andrey Panin 2 participants 2 messages Apr 16, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix visws in 2.6.5

Hi all,

this small patch fixes visws build error in 2.6.5. Please apply.

Best regards.

Signature · 2 lines
Andrey Panin		| Linux and UNIX system administrator
[email protected]		| PGP key: wwwkeys.pgp.net
arch/i386/mach-visws/mpparse.c +4 -0
diff -urpN -X /usr/share/dontdiff linux-2.6.3.vanilla/arch/i386/mach-visws/mpparse.c linux-2.6.3/arch/i386/mach-visws/mpparse.c
@@ -28,6 +28,7 @@ unsigned int boot_cpu_logical_apicid = -
 /* Bitmask of physically existing CPUs */
 physid_mask_t phys_cpu_present_map;
 
+unsigned int __initdata maxcpus = NR_CPUS;
 
 /*
  * The Visual Workstation is Intel MP compliant in the hardware
@@ -89,6 +90,9 @@ void __init find_smp_config(void)
 		ncpus = CO_CPU_MAX;
 	}
 
+	if (ncpus > maxcpus)
+		ncpus = maxcpus;
+
 	smp_found_config = 1;
 	while (ncpus--)
 		MP_processor_info(mp++);
#1 lore raw

Speaking of did you get my email about the sgi framebuffer changes?