[PATCH] ppc64: add definition for PAGE_AGP This fix DRM build on ppc64 (even if DRM here is not yet functional, you'll need the bleeding edge r300 stuff) by properly defining PAGE_AGP for the ppc64 architecture. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/include/asm-ppc64/pgtable.h b/include/asm-ppc64/pgtable.h index 8a79ece..4c48246 100644 --- a/include/asm-ppc64/pgtable.h +++ b/include/asm-ppc64/pgtable.h
@@ -120,6 +120,9 @@ _PAGE_WRENABLE | _PAGE_NO_CACHE | _PAGE_GUARDED) #define PAGE_KERNEL_EXEC __pgprot(_PAGE_BASE | _PAGE_WRENABLE | _PAGE_EXEC) +#define PAGE_AGP __pgprot(_PAGE_BASE | _PAGE_WRENABLE | _PAGE_NO_CACHE) +#define HAVE_PAGE_AGP + /* * This bit in a hardware PTE indicates that the page is *not* executable. */