diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-04-03 17:38:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-03 17:38:42 -0700 |
commit | 196384b529f1018693f0242d9d25c517e816fdb6 (patch) | |
tree | 13d1935b4b63230fc8ff8910466407849ae69fe6 | |
parent | acec5119069c1896db45b4014c9d1e53514bc843 (diff) | |
download | history-196384b529f1018693f0242d9d25c517e816fdb6.tar.gz |
[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>
-rw-r--r-- | include/asm-ppc64/pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc64/pgtable.h b/include/asm-ppc64/pgtable.h index 8a79ece01aa505..4c4824653e8094 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. */ |