Module: xenomai-3
Branch: stable-3.0.x
Commit: e94cd3482b96e5688d1ef4686a5ae18336695771
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e94cd3482b96e5688d1ef4686a5ae18336695771

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu May 18 17:32:36 2017 +0200

cobalt/x86: silence warning about unused variable

---

 kernel/cobalt/arch/x86/thread.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/cobalt/arch/x86/thread.c b/kernel/cobalt/arch/x86/thread.c
index e40dd6f..7fb1363 100644
--- a/kernel/cobalt/arch/x86/thread.c
+++ b/kernel/cobalt/arch/x86/thread.c
@@ -240,6 +240,7 @@ void xnarch_switch_to(struct xnthread *out, struct xnthread 
*in)
                          out_tcb->spp, in_tcb->spp,
                          out_tcb->ipp, in_tcb->ipp);
 #endif /* CONFIG_X86_64 */
+       (void)last;
 #else /* LINUX_VERSION_CODE >= 4.8 */
        switch_to(prev, next, last);
 #endif /* LINUX_VERSION_CODE >= 4.8 */


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

Reply via email to