Module: xenomai-3
Branch: wip/prioceil
Commit: cd90cd71d59e828952dc2e98a501b65ada52b818
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cd90cd71d59e828952dc2e98a501b65ada52b818

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Feb 28 08:17:30 2016 +0100

cobalt/posix/signal: get buffer memory from vmalloc()

---

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

diff --git a/kernel/cobalt/posix/signal.c b/kernel/cobalt/posix/signal.c
index d6cda8e..dc16bc8 100644
--- a/kernel/cobalt/posix/signal.c
+++ b/kernel/cobalt/posix/signal.c
@@ -593,7 +593,7 @@ __init int cobalt_signal_init(void)
 {
        struct cobalt_sigpending *sigp;
 
-       sigpending_mem = alloc_pages_exact(__SIGPOOL_SIZE, GFP_KERNEL);
+       sigpending_mem = xnheap_vmalloc(__SIGPOOL_SIZE);
        if (sigpending_mem == NULL)
                return -ENOMEM;
 


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

Reply via email to