lkml.org 
[lkml]   [2004]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix visws in 2.6.5
Hi all,

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

Best regards.

--
Andrey Panin | Linux and UNIX system administrator
pazke@donpac.ru | PGP key: wwwkeys.pgp.net
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
--- linux-2.6.3.vanilla/arch/i386/mach-visws/mpparse.c 2004-01-14 23:09:49.000000000 +0300
+++ linux-2.6.3/arch/i386/mach-visws/mpparse.c 2004-04-15 19:44:47.000000000 +0400
@@ -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++);[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.027 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site