summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/agp.h
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-07-29 11:25:58 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-08-03 10:05:00 +0200
commit6a12235c7d2d75c7d94b9afcaaecd422ff845ce0 (patch)
tree416ec7de6c42fa5dd7885b53388a1bbee0b3aeed /arch/powerpc/include/asm/agp.h
parentintel-agp: fix sglist allocation to avoid vmalloc() (diff)
downloadlinux-6a12235c7d2d75c7d94b9afcaaecd422ff845ce0.tar.xz
linux-6a12235c7d2d75c7d94b9afcaaecd422ff845ce0.zip
agp: kill phys_to_gart() and gart_to_phys()
There seems to be no reason for these -- they're a 1:1 mapping on all platforms. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/powerpc/include/asm/agp.h')
-rw-r--r--arch/powerpc/include/asm/agp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/agp.h b/arch/powerpc/include/asm/agp.h
index 86455c4c31ee..416e12c2d505 100644
--- a/arch/powerpc/include/asm/agp.h
+++ b/arch/powerpc/include/asm/agp.h
@@ -8,10 +8,6 @@
#define unmap_page_from_agp(page)
#define flush_agp_cache() mb()
-/* Convert a physical address to an address suitable for the GART. */
-#define phys_to_gart(x) (x)
-#define gart_to_phys(x) (x)
-
/* GATT allocation. Returns/accepts GATT kernel virtual address. */
#define alloc_gatt_pages(order) \
((char *)__get_free_pages(GFP_KERNEL, (order)))