[Xenomai-git] Philippe Gerum : cobalt/posix/signal: get buffer memory from vmalloc()

2016-03-06 Thread git repository hosting
Module: xenomai-3
Branch: wip/dovetail
Commit: dcc8576834e9302094a4f2ad60af80f9586d504c
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dcc8576834e9302094a4f2ad60af80f9586d504c

Author: Philippe Gerum 
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


[Xenomai-git] Philippe Gerum : cobalt/posix/signal: get buffer memory from vmalloc()

2016-02-29 Thread git repository hosting
Module: xenomai-3
Branch: stable-3.0.x
Commit: cd90cd71d59e828952dc2e98a501b65ada52b818
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cd90cd71d59e828952dc2e98a501b65ada52b818

Author: Philippe Gerum 
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
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/posix/signal: get buffer memory from vmalloc()

2016-02-29 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: dcc8576834e9302094a4f2ad60af80f9586d504c
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dcc8576834e9302094a4f2ad60af80f9586d504c

Author: Philippe Gerum 
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
http://xenomai.org/mailman/listinfo/xenomai-git