Module: xenomai-head
Branch: master
Commit: 6ef089758eb241ff0955edb516209cb896a677ed
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=6ef089758eb241ff0955edb516209cb896a677ed

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Thu May 28 00:06:42 2009 +0200

Use PIC mute routines on the ARM platform

---

 include/asm-arm/bits/pod.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-arm/bits/pod.h b/include/asm-arm/bits/pod.h
index 2e71d5d..5a8f042 100644
--- a/include/asm-arm/bits/pod.h
+++ b/include/asm-arm/bits/pod.h
@@ -41,6 +41,7 @@ void xnpod_delete_thread(struct xnthread *);
 
 static inline void xnarch_leave_root(xnarchtcb_t * rootcb)
 {
+       rthal_mute_pic();
        /* Remember the preempted Linux task pointer. */
        rootcb->user_task = rootcb->active_task = current;
        rootcb->mm = rootcb->active_mm = rthal_get_active_mm();
@@ -63,6 +64,7 @@ static inline void xnarch_enter_root(xnarchtcb_t * rootcb)
        if (!rootcb->mm)
                set_ti_thread_flag(rootcb->tip, TIF_MMSWITCH_INT);
 #endif /* TIF_MMSWITCH_INT */
+       rthal_unmute_pic();
 }
 
 static inline void xnarch_switch_to(xnarchtcb_t *out_tcb, xnarchtcb_t *in_tcb)


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

Reply via email to