From: Jon Mason <jdmason@us.ibm.com>
To: ak@suse.de
Cc: linux-kernel@vger.kernel.org, mulix@mulix.org
Subject: [PATCH] x86-64: remove unused gart header file
Date: Wed, 17 May 2006 16:58:18 -0500 [thread overview]
Message-ID: <20060517215818.GC22817@us.ibm.com> (raw)
include/asm-x86_64/gart-mapping.h is only ever used in
arch/x86_64/kernel/setup.c and none of its contents are referenced.
Looks to be leftover cruft not removed in the dma_ops patch.
Thanks,
Jon
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
diff -r 5bffc597ba65 arch/x86_64/kernel/setup.c
--- a/arch/x86_64/kernel/setup.c Tue May 16 22:18:26 2006
+++ b/arch/x86_64/kernel/setup.c Wed May 17 16:40:30 2006
@@ -67,7 +67,6 @@
#include <asm/numa.h>
#include <asm/swiotlb.h>
#include <asm/sections.h>
-#include <asm/gart-mapping.h>
#include <asm/dmi.h>
/*
diff -r 5bffc597ba65 include/asm-x86_64/gart-mapping.h
--- a/include/asm-x86_64/gart-mapping.h Tue May 16 22:18:26 2006
+++ /dev/null Wed May 17 16:40:30 2006
@@ -1,16 +0,0 @@
-#ifndef _X8664_GART_MAPPING_H
-#define _X8664_GART_MAPPING_H 1
-
-#include <linux/types.h>
-#include <asm/types.h>
-
-struct device;
-
-extern void*
-gart_alloc_coherent(struct device *dev, size_t size,
- dma_addr_t *dma_handle, gfp_t gfp);
-
-extern int
-gart_dma_supported(struct device *hwdev, u64 mask);
-
-#endif /* _X8664_GART_MAPPING_H */
reply other threads:[~2006-05-17 22:00 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=20060517215818.GC22817@us.ibm.com \
--to=jdmason@us.ibm.com \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mulix@mulix.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