Module: xenomai-2.4
Branch: master
Commit: 04b9c404364568befa99dfc67a5c73d46353323f
URL:    
http://git.xenomai.org/?p=xenomai-2.4.git;a=commit;h=04b9c404364568befa99dfc67a5c73d46353323f

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Dec 18 09:56:41 2009 +0100

native: allow T_RPIOFF to be passed to rt_task_set_mode()

---

 ksrc/skins/native/task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/skins/native/task.c b/ksrc/skins/native/task.c
index d861054..ad27f1f 100644
--- a/ksrc/skins/native/task.c
+++ b/ksrc/skins/native/task.c
@@ -1498,7 +1498,7 @@ int rt_task_set_mode(int clrmask, int setmask, int 
*mode_r)
        }
 
        if (((clrmask | setmask) &
-            ~(T_LOCK | T_RRB | T_NOSIG | T_SHIELD | T_WARNSW)) != 0)
+            ~(T_LOCK | T_RRB | T_NOSIG | T_SHIELD | T_WARNSW | T_RPIOFF)) != 0)
                return -EINVAL;
 
        if (!xnpod_primary_p())


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

Reply via email to