[Xenomai-git] Jan Kiszka : cobalt/posix/timer: Fix debug output
Module: xenomai-forge Branch: next Commit: 06d66ce0ba3ae8ce6d9f171d690a96f81347cd49 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=06d66ce0ba3ae8ce6d9f171d690a96f81347cd49 Author: Jan Kiszka Date: Tue Aug 27 20:12:48 2013 +0200 cobalt/posix/timer: Fix debug output The local variable tm was removed. Update the debug printk accordingly. Signed-off-by: Jan Kiszka --- kernel/cobalt/posix/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/posix/timer.c b/kernel/cobalt/posix/timer.c index cf043d4..1c8ded4 100644 --- a/kernel/cobalt/posix/timer.c +++ b/kernel/cobalt/posix/timer.c @@ -620,7 +620,8 @@ void cobalt_timerq_cleanup(struct cobalt_kqueues *q) timer_cleanup(timer); xnlock_put_irqrestore(&nklock, s); #if XENO_DEBUG(COBALT) - printk(XENO_INFO "deleting Cobalt timer %u\n", (unsigned int)tm); + printk(XENO_INFO "deleting Cobalt timer %u\n", + (unsigned int)(timer - cobalt_timer_pool)); #endif /* XENO_DEBUG(COBALT) */ xnlock_get_irqsave(&nklock, s); } ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Jan Kiszka : cobalt/posix/timer: Fix debug output
Module: xenomai-forge Branch: master Commit: 06d66ce0ba3ae8ce6d9f171d690a96f81347cd49 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=06d66ce0ba3ae8ce6d9f171d690a96f81347cd49 Author: Jan Kiszka Date: Tue Aug 27 20:12:48 2013 +0200 cobalt/posix/timer: Fix debug output The local variable tm was removed. Update the debug printk accordingly. Signed-off-by: Jan Kiszka --- kernel/cobalt/posix/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/posix/timer.c b/kernel/cobalt/posix/timer.c index cf043d4..1c8ded4 100644 --- a/kernel/cobalt/posix/timer.c +++ b/kernel/cobalt/posix/timer.c @@ -620,7 +620,8 @@ void cobalt_timerq_cleanup(struct cobalt_kqueues *q) timer_cleanup(timer); xnlock_put_irqrestore(&nklock, s); #if XENO_DEBUG(COBALT) - printk(XENO_INFO "deleting Cobalt timer %u\n", (unsigned int)tm); + printk(XENO_INFO "deleting Cobalt timer %u\n", + (unsigned int)(timer - cobalt_timer_pool)); #endif /* XENO_DEBUG(COBALT) */ xnlock_get_irqsave(&nklock, s); } ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Jan Kiszka : cobalt/posix/timer: Fix debug output
Module: xenomai-jki Branch: for-forge Commit: 06d66ce0ba3ae8ce6d9f171d690a96f81347cd49 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=06d66ce0ba3ae8ce6d9f171d690a96f81347cd49 Author: Jan Kiszka Date: Tue Aug 27 20:12:48 2013 +0200 cobalt/posix/timer: Fix debug output The local variable tm was removed. Update the debug printk accordingly. Signed-off-by: Jan Kiszka --- kernel/cobalt/posix/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/posix/timer.c b/kernel/cobalt/posix/timer.c index cf043d4..1c8ded4 100644 --- a/kernel/cobalt/posix/timer.c +++ b/kernel/cobalt/posix/timer.c @@ -620,7 +620,8 @@ void cobalt_timerq_cleanup(struct cobalt_kqueues *q) timer_cleanup(timer); xnlock_put_irqrestore(&nklock, s); #if XENO_DEBUG(COBALT) - printk(XENO_INFO "deleting Cobalt timer %u\n", (unsigned int)tm); + printk(XENO_INFO "deleting Cobalt timer %u\n", + (unsigned int)(timer - cobalt_timer_pool)); #endif /* XENO_DEBUG(COBALT) */ xnlock_get_irqsave(&nklock, s); } ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Jan Kiszka : cobalt/posix/timer: Fix debug output
Module: xenomai-jki Branch: for-forge Commit: e6bc63083ddde33fc401f14300900ff37642ff18 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=e6bc63083ddde33fc401f14300900ff37642ff18 Author: Jan Kiszka Date: Tue Aug 27 20:12:48 2013 +0200 cobalt/posix/timer: Fix debug output The local variable tm was removed. Update the debug printk accordingly. Signed-off-by: Jan Kiszka --- kernel/cobalt/posix/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/posix/timer.c b/kernel/cobalt/posix/timer.c index cf043d4..1c8ded4 100644 --- a/kernel/cobalt/posix/timer.c +++ b/kernel/cobalt/posix/timer.c @@ -620,7 +620,8 @@ void cobalt_timerq_cleanup(struct cobalt_kqueues *q) timer_cleanup(timer); xnlock_put_irqrestore(&nklock, s); #if XENO_DEBUG(COBALT) - printk(XENO_INFO "deleting Cobalt timer %u\n", (unsigned int)tm); + printk(XENO_INFO "deleting Cobalt timer %u\n", + (unsigned int)(timer - cobalt_timer_pool)); #endif /* XENO_DEBUG(COBALT) */ xnlock_get_irqsave(&nklock, s); } ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Jan Kiszka : cobalt/posix/timer: Fix debug output
Module: xenomai-jki Branch: for-forge Commit: c87a89a5d866255265fbc7abf316d40902655f0a URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=c87a89a5d866255265fbc7abf316d40902655f0a Author: Jan Kiszka Date: Tue Aug 27 20:12:48 2013 +0200 cobalt/posix/timer: Fix debug output The local variable tm was removed. Update the debug printk accordingly. Signed-off-by: Jan Kiszka --- kernel/cobalt/posix/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/posix/timer.c b/kernel/cobalt/posix/timer.c index 0abb70c..529cefb 100644 --- a/kernel/cobalt/posix/timer.c +++ b/kernel/cobalt/posix/timer.c @@ -605,7 +605,8 @@ void cobalt_timerq_cleanup(struct cobalt_kqueues *q) timer_cleanup(timer); xnlock_put_irqrestore(&nklock, s); #if XENO_DEBUG(COBALT) - printk(XENO_INFO "deleting Cobalt timer %u\n", (unsigned int)tm); + printk(XENO_INFO "deleting Cobalt timer %u\n", + (unsigned int)(timer - cobalt_timer_pool)); #endif /* XENO_DEBUG(COBALT) */ xnlock_get_irqsave(&nklock, s); } ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Jan Kiszka : cobalt/posix/timer: Fix debug output
Module: xenomai-jki Branch: for-forge Commit: 254cb1f929f02adf6f8881bd45577ea5da0bb0a9 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=254cb1f929f02adf6f8881bd45577ea5da0bb0a9 Author: Jan Kiszka Date: Tue Aug 27 20:12:48 2013 +0200 cobalt/posix/timer: Fix debug output The local variable tm was removed. Update the debug printk accordingly. Signed-off-by: Jan Kiszka --- kernel/cobalt/posix/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/posix/timer.c b/kernel/cobalt/posix/timer.c index 0abb70c..529cefb 100644 --- a/kernel/cobalt/posix/timer.c +++ b/kernel/cobalt/posix/timer.c @@ -605,7 +605,8 @@ void cobalt_timerq_cleanup(struct cobalt_kqueues *q) timer_cleanup(timer); xnlock_put_irqrestore(&nklock, s); #if XENO_DEBUG(COBALT) - printk(XENO_INFO "deleting Cobalt timer %u\n", (unsigned int)tm); + printk(XENO_INFO "deleting Cobalt timer %u\n", + (unsigned int)(timer - cobalt_timer_pool)); #endif /* XENO_DEBUG(COBALT) */ xnlock_get_irqsave(&nklock, s); } ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git