From: "Jan Beulich" <jbeulich@novell.com>
To: <mingo@elte.hu>, <tglx@linutronix.de>, <hpa@zytor.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH] x86: reduce forbid_dac's visibility
Date: Fri, 18 Jul 2008 13:44:16 +0100 [thread overview]
Message-ID: <4880AC40.76E4.0078.0@novell.com> (raw)
It's not used anywhere outside its declaring file.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
---
arch/x86/kernel/pci-dma.c | 3 +--
include/asm-x86/dma-mapping.h | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
--- linux-2.6.26/arch/x86/kernel/pci-dma.c 2008-07-13 23:51:29.000000000 +0200
+++ 2.6.26-x86-forbid-dac/arch/x86/kernel/pci-dma.c 2008-07-15 14:51:28.000000000 +0200
@@ -8,8 +8,7 @@
#include <asm/gart.h>
#include <asm/calgary.h>
-int forbid_dac __read_mostly;
-EXPORT_SYMBOL(forbid_dac);
+static int forbid_dac __read_mostly;
const struct dma_mapping_ops *dma_ops;
EXPORT_SYMBOL(dma_ops);
--- linux-2.6.26/include/asm-x86/dma-mapping.h 2008-07-13 23:51:29.000000000 +0200
+++ 2.6.26-x86-forbid-dac/include/asm-x86/dma-mapping.h 2008-07-17 10:29:09.000000000 +0200
@@ -14,7 +14,6 @@ extern dma_addr_t bad_dma_address;
extern int iommu_merge;
extern struct device fallback_dev;
extern int panic_on_overflow;
-extern int forbid_dac;
extern int force_iommu;
struct dma_mapping_ops {
next reply other threads:[~2008-07-18 12:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-18 12:44 Jan Beulich [this message]
2008-07-18 21:39 ` H. Peter Anvin
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=4880AC40.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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
Powered by JetHome