From: Mikael Pettersson <mikpe@csd.uu.se>
To: ak@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.6.5-bk1 on x86-64 linkage error
Date: Tue, 13 Apr 2004 23:32:15 +0200 (MEST) [thread overview]
Message-ID: <200404132132.i3DLWFml005032@harpo.it.uu.se> (raw)
Andi,
2.6.5-bk1 on x86-64 with CONFIG_GART_IOMMU=n fails to
link due to undefined references to iommu_aperture_allowed
and iommu_aperture_disabled. Fixed by the patch below.
/Mikael
--- linux-2.6.5-bk1/arch/x86_64/kernel/io_apic.c.~1~ 2004-04-13 21:18:26.000000000 +0200
+++ linux-2.6.5-bk1/arch/x86_64/kernel/io_apic.c 2004-04-13 23:01:32.000000000 +0200
@@ -250,12 +250,14 @@
vendor &= 0xffff;
switch (vendor) {
case PCI_VENDOR_ID_VIA:
+#ifdef CONFIG_GART_IOMMU
if (end_pfn >= (0xffffffff>>PAGE_SHIFT) &&
!iommu_aperture_allowed) {
printk(KERN_INFO
"Looks like a VIA chipset. Disabling IOMMU. Overwrite with \"iommu=allowed\"\n");
iommu_aperture_disabled = 1;
}
+#endif
/* FALL THROUGH */
case PCI_VENDOR_ID_NVIDIA:
#ifndef CONFIG_SMP
next reply other threads:[~2004-04-13 21:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-13 21:32 Mikael Pettersson [this message]
2004-04-13 21:33 ` Andi Kleen
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=200404132132.i3DLWFml005032@harpo.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
/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®