[PATCH] x86-64: remove unused gart header file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux