Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 357c2b90 authored by Jon Mason's avatar Jon Mason Committed by Linus Torvalds
Browse files

[PATCH] x86_64: remove unused gart header file



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.

Signed-off-by: default avatarJon Mason <jdmason@us.ibm.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 08cd3657
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@
#include <asm/numa.h>
#include <asm/swiotlb.h>
#include <asm/sections.h>
#include <asm/gart-mapping.h>
#include <asm/dmi.h>

/*

include/asm-x86_64/gart-mapping.h

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
#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 */