Module: xenomai-3
Branch: next
Commit: 1be2d32881b5ac6b311ac87a1fad2b816aec225f
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1be2d32881b5ac6b311ac87a1fad2b816aec225f

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Mar  4 11:27:07 2016 +0100

cobalt/umm: get UMM heaps from the normal zone

---

 kernel/cobalt/posix/memory.c  |    2 +-
 kernel/cobalt/posix/process.c |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/cobalt/posix/memory.c b/kernel/cobalt/posix/memory.c
index 5304272..1d888a2 100644
--- a/kernel/cobalt/posix/memory.c
+++ b/kernel/cobalt/posix/memory.c
@@ -321,7 +321,7 @@ int cobalt_umm_init(struct cobalt_umm *umm, u32 size,
        secondary_mode_only();
 
        size = PAGE_ALIGN(size);
-       basemem = __vmalloc(size, GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO,
+       basemem = __vmalloc(size, GFP_KERNEL|__GFP_ZERO,
                            xnarch_cache_aliasing() ?
                            pgprot_noncached(PAGE_KERNEL) : PAGE_KERNEL);
        if (basemem == NULL)
diff --git a/kernel/cobalt/posix/process.c b/kernel/cobalt/posix/process.c
index 28fde9e..5c152e8 100644
--- a/kernel/cobalt/posix/process.c
+++ b/kernel/cobalt/posix/process.c
@@ -34,7 +34,6 @@
 #include <linux/file.h>
 #include <linux/ptrace.h>
 #include <linux/sched.h>
-#include <linux/vmalloc.h>
 #include <linux/signal.h>
 #include <linux/kallsyms.h>
 #include <linux/ipipe.h>


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

Reply via email to