Module: xenomai-2.6
Branch: master
Commit: 1b8fb14e486ac0604e44067a0f1f89dc14153e95
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=1b8fb14e486ac0604e44067a0f1f89dc14153e95

Author: Henri Roosen <henriroo...@gmail.com>
Date:   Sat Jan 25 19:47:54 2014 +0100

wrappers/arm: map I/O ranges without cache

on post 2.6.25 kernels and CPUs with MMU.

---

 include/asm-generic/wrappers.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index 9a7ce1a..2c09c5e 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -377,7 +377,7 @@ static inline void *kzalloc(size_t size, int flags)
 #define wrap_remap_io_page_range(vma,from,to,size,prot)  ({            \
     (vma)->vm_page_prot = pgprot_noncached((vma)->vm_page_prot);       \
     /* Sets VM_RESERVED | VM_IO | VM_PFNMAP on the vma. */             \
-    remap_pfn_range(vma,from,(to) >> PAGE_SHIFT,size,prot);            \
+    remap_pfn_range(vma,from,(to) >> PAGE_SHIFT,size,pgprot_noncached(prot)); \
     })
 #define wrap_remap_kmem_page_range(vma,from,to,size,prot)  ({          \
     /* Sets VM_RESERVED | VM_IO | VM_PFNMAP on the vma. */             \


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to