]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] alpha(): pgprot_noncached
authorAndrew Morton <akpm@osdl.org>
Fri, 8 Jul 2005 00:57:09 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:47 +0000 (18:23 -0700)
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>
include/asm-alpha/pgtable.h

index 408aea55e0ccbc6f246c2910c6b0407a48dbcaea..e139463d9a0e158e1f88e8fff8b4876445810c44 100644 (file)
 #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.