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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Mon Nov 24 07:23:40 2014 +0100

posix: fix user-space interrupt syscalls

Move the setup and cleanup related syscalls to secondary mode.

---

 ksrc/skins/posix/syscall.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ksrc/skins/posix/syscall.c b/ksrc/skins/posix/syscall.c
index 401fd61..87b95fa 100644
--- a/ksrc/skins/posix/syscall.c
+++ b/ksrc/skins/posix/syscall.c
@@ -2931,10 +2931,10 @@ static xnsysent_t __systab[] = {
        [__pse51_mq_receive] = {&__mq_receive, __xn_exec_primary},
        [__pse51_mq_timedreceive] = {&__mq_timedreceive, __xn_exec_primary},
        [__pse51_mq_notify] = {&__mq_notify, __xn_exec_primary},
-       [__pse51_intr_attach] = {&__intr_attach, __xn_exec_any},
-       [__pse51_intr_detach] = {&__intr_detach, __xn_exec_any},
+       [__pse51_intr_attach] = {&__intr_attach, __xn_exec_lostage},
+       [__pse51_intr_detach] = {&__intr_detach, __xn_exec_lostage},
        [__pse51_intr_wait] = {&__intr_wait, __xn_exec_primary},
-       [__pse51_intr_control] = {&__intr_control, __xn_exec_any},
+       [__pse51_intr_control] = {&__intr_control, __xn_exec_lostage},
        [__pse51_timer_create] = {&__timer_create, __xn_exec_any},
        [__pse51_timer_delete] = {&__timer_delete, __xn_exec_any},
        [__pse51_timer_settime] = {&__timer_settime, __xn_exec_primary},


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

Reply via email to