ChangeSet 1.2229.1.17, 2005/04/04 07:38:42-07:00, [EMAIL PROTECTED]

        [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 <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 pgtable.h |    3 +++
 1 files changed, 3 insertions(+)


diff -Nru a/include/asm-ppc64/pgtable.h b/include/asm-ppc64/pgtable.h
--- a/include/asm-ppc64/pgtable.h       2005-04-04 08:17:04 -07:00
+++ b/include/asm-ppc64/pgtable.h       2005-04-04 08:17:04 -07:00
@@ -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.
  */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to