* [PATCH] fix visws in 2.6.5
@ 2004-04-16 11:47 Andrey Panin
2004-04-16 20:34 ` James Simmons
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Panin @ 2004-04-16 11:47 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-visws-devel, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 200 bytes --]
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
[-- Attachment #1.2: patch-visws-2.6.5 --]
[-- Type: text/plain, Size: 775 bytes --]
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++);
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix visws in 2.6.5
2004-04-16 11:47 [PATCH] fix visws in 2.6.5 Andrey Panin
@ 2004-04-16 20:34 ` James Simmons
0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2004-04-16 20:34 UTC (permalink / raw)
To: Andrey Panin; +Cc: linux-visws-devel, Linux Kernel Mailing List
Speaking of did you get my email about the sgi framebuffer changes?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-16 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-16 11:47 [PATCH] fix visws in 2.6.5 Andrey Panin
2004-04-16 20:34 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®