mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrey Panin <pazke@donpac.ru>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-visws-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: [PATCH] fix visws in 2.6.5
Date: Fri, 16 Apr 2004 15:47:50 +0400	[thread overview]
Message-ID: <20040416114750.GE9410@pazke> (raw)


[-- 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 --]

             reply	other threads:[~2004-04-16 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-16 11:47 Andrey Panin [this message]
2004-04-16 20:34 ` James Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040416114750.GE9410@pazke \
    --to=pazke@donpac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-visws-devel@lists.sourceforge.net \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®