From: Jonathan Corbet <corbet@lwn.net>
To: linux-kernel@vger.kernel.org
Cc: ak@suse.de
Subject: [MICROPATCH] Make x86_64 build work without GART_IOMMU
Date: Fri, 30 Apr 2004 13:57:11 -0600 [thread overview]
Message-ID: <20040430195711.16275.qmail@lwn.net> (raw)
If you try to build a 2.6.6-rc3 kernel with CONFIG_GART_IOMMU turned off,
the link fails because bad_dma_address is undefined. This little hack just
defines the variable in pci-nommu.c as well. It may not be an optimal fix,
but it does make the kernel build.
Why do I care? My Radeon 9200SE goes nuts if I build a GART-enabled
kernel. Haven't figured out why...
jon
--- 2.6.6-rc3-slab/arch/x86_64/kernel/pci-nommu.c.orig 2004-02-06 00:51:20.000000000 -0700
+++ 2.6.6-rc3-slab/arch/x86_64/kernel/pci-nommu.c 2004-04-30 13:40:35.000000000 -0600
@@ -5,6 +5,7 @@
#include <asm/proto.h>
int iommu_merge = 0;
+dma_addr_t bad_dma_address;
/*
* Dummy IO MMU functions
next reply other threads:[~2004-04-30 19:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-30 19:57 Jonathan Corbet [this message]
[not found] <1QMlc-5kS-39@gated-at.bofh.it>
2004-04-30 21:00 ` Andi Kleen
2004-04-30 21:40 ` Jonathan Corbet
2004-04-30 22:07 ` Andi Kleen
2004-05-03 15:09 ` Jonathan Corbet
2004-05-03 16:23 ` Roland Dreier
2004-05-03 16:33 ` Andi Kleen
2004-04-30 22:08 ` Andrew Morton
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=20040430195711.16275.qmail@lwn.net \
--to=corbet@lwn.net \
--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®