Module: xenomai-forge
Branch: next
Commit: 933e00fbb097b49bc62da88cc6bfa195f6a54e68
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=933e00fbb097b49bc62da88cc6bfa195f6a54e68

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Sep  9 19:17:18 2014 +0200

cobalt/rtdm: fix mmap helper for MMU-less

---

 kernel/cobalt/rtdm/drvlib.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/rtdm/drvlib.c b/kernel/cobalt/rtdm/drvlib.c
index aab8725..e147b6e 100644
--- a/kernel/cobalt/rtdm/drvlib.c
+++ b/kernel/cobalt/rtdm/drvlib.c
@@ -1606,7 +1606,7 @@ unsigned long unmapped_area_helper(struct file *filp,
        if (pa)
                return (unsigned long)__va(pa);
 
-       return (unsigned long)mmap_data->src_vaddr;
+       return (unsigned long)helper_data->src_vaddr;
 }
 
 static unsigned long


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

Reply via email to