Blackfin arch: stub out pgprot_noncached() like other people seem to do on nommu
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/pgtable.h

index f11684e4ade7fd3c8dfd2cbea5b7598e6282d3a8..783c8f7f8f8c90840f54667208eaae30952267a4 100644 (file)
@@ -29,6 +29,7 @@ typedef pte_t *pte_addr_t;
 #define PAGE_COPY              __pgprot(0)     /* these mean nothing to NO_MM */
 #define PAGE_READONLY          __pgprot(0)     /* these mean nothing to NO_MM */
 #define PAGE_KERNEL            __pgprot(0)     /* these mean nothing to NO_MM */
+#define pgprot_noncached(prot) (prot)
 
 extern void paging_init(void);