mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrey Panin <pazke@orbita1.ru>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] fix visws breakage in 2.5.67
Date: Wed, 9 Apr 2003 09:07:11 +0400	[thread overview]
Message-ID: <20030409050711.GA24420@pazke> (raw)

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

Hi,

someone broke visws again :(

This patch fixes it by adding '#ifdef CONFIG_X86_IO_APIC'
around call to setup_ioapic_dest() in smp_cpus_done().

Best regards.

-- 
Andrey Panin		| Embedded systems software developer
pazke@orbita1.ru	| PGP key: wwwkeys.pgp.net

[-- Attachment #2: patch-ioapic-2.5.67 --]
[-- Type: text/plain, Size: 440 bytes --]

diff -urN -X /usr/share/dontdiff linux-2.5.67.vanilla/arch/i386/kernel/smpboot.c linux-2.5.67/arch/i386/kernel/smpboot.c
--- linux-2.5.67.vanilla/arch/i386/kernel/smpboot.c	Wed Apr  9 19:43:46 2003
+++ linux-2.5.67/arch/i386/kernel/smpboot.c	Wed Apr  9 19:16:46 2003
@@ -1155,7 +1155,9 @@
 
 void __init smp_cpus_done(unsigned int max_cpus)
 {
+#ifdef CONFIG_X86_IO_APIC
 	setup_ioapic_dest(TARGET_CPUS);
+#endif
 	zap_low_mappings();
 }
 

                 reply	other threads:[~2003-04-09  4:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030409050711.GA24420@pazke \
    --to=pazke@orbita1.ru \
    --cc=linux-kernel@vger.kernel.org \
    --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®