summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/pgtable.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-07 17:57:09 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 18:23:47 -0700
commit404865516ce6b6d7ee37c4eb4ee77d78b38e669a (patch)
treea5cb58f6f92b512af80f0f8972d3908d8662966f /include/asm-alpha/pgtable.h
parent7e8d7e3c9e38dab8d28a8667faa4941842f64213 (diff)
downloadop-kernel-dev-404865516ce6b6d7ee37c4eb4ee77d78b38e669a.zip
op-kernel-dev-404865516ce6b6d7ee37c4eb4ee77d78b38e669a.tar.gz
[PATCH] alpha(): pgprot_noncached
The infiniband code expects that the arch implements pgprot_noncached(). We're mapping PCI areas anyway, so this probabyl wasn't needed and we should make infiniband stop doing that.. Cc: Roland Dreier <rolandd@cisco.com> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-alpha/pgtable.h')
-rw-r--r--include/asm-alpha/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-alpha/pgtable.h b/include/asm-alpha/pgtable.h
index 408aea5..e139463 100644
--- a/include/asm-alpha/pgtable.h
+++ b/include/asm-alpha/pgtable.h
@@ -132,6 +132,8 @@
#define __S110 _PAGE_S(0)
#define __S111 _PAGE_S(0)
+#define pgprot_noncached(prot) (prot)
+
/*
* BAD_PAGETABLE is used when we need a bogus page-table, while
* BAD_PAGE is used for a bogus page.
OpenPOWER on IntegriCloud