Module: xenomai-forge
Branch: master
Commit: 74dee9f7923aeaef0e1f060b28bd933dc23b126f
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=74dee9f7923aeaef0e1f060b28bd933dc23b126f

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Jan 10 10:55:36 2012 +0100

cobalt/nucleus: fix xnshadow_send_sig() calls

---

 kernel/cobalt/nucleus/debug.c |    3 +--
 kernel/cobalt/nucleus/synch.c |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/cobalt/nucleus/debug.c b/kernel/cobalt/nucleus/debug.c
index ae03bbe..bacb9da 100644
--- a/kernel/cobalt/nucleus/debug.c
+++ b/kernel/cobalt/nucleus/debug.c
@@ -192,8 +192,7 @@ DEFINE_PRIVATE_XNLOCK(relax_lock);
 void xndebug_notify_relax(struct xnthread *thread, int reason)
 {
        xnshadow_send_sig(thread, SIGSHADOW,
-                         sigshadow_int(SIGSHADOW_ACTION_BACKTRACE, reason),
-                         1);
+                         sigshadow_int(SIGSHADOW_ACTION_BACKTRACE, reason));
 }
 
 void xndebug_trace_relax(int nr, unsigned long __user *u_backtrace,
diff --git a/kernel/cobalt/nucleus/synch.c b/kernel/cobalt/nucleus/synch.c
index f6a9d06..2c633cf 100644
--- a/kernel/cobalt/nucleus/synch.c
+++ b/kernel/cobalt/nucleus/synch.c
@@ -990,7 +990,7 @@ void xnsynch_detect_relaxed_owner(struct xnsynch *synch, 
struct xnthread *sleepe
            xnthread_test_state(synch->owner, XNRELAX)) {
                xnthread_set_info(sleeper, XNSWREP);
                xnshadow_send_sig(sleeper, SIGDEBUG,
-                                 SIGDEBUG_MIGRATE_PRIOINV, 1);
+                                 SIGDEBUG_MIGRATE_PRIOINV);
        } else
                xnthread_clear_info(sleeper,  XNSWREP);
 }


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

Reply via email to