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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jul 13 16:25:26 2009 +0200

powerpc: init FPU for userland Xenomai threads as well

---

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

diff --git a/include/asm-powerpc/bits/pod.h b/include/asm-powerpc/bits/pod.h
index da44b8e..913f0b7 100644
--- a/include/asm-powerpc/bits/pod.h
+++ b/include/asm-powerpc/bits/pod.h
@@ -205,8 +205,7 @@ static inline void xnarch_init_thread(xnarchtcb_t * tcb,
 static inline void xnarch_enable_fpu(xnarchtcb_t * current_tcb)
 {
 #ifdef CONFIG_XENO_HW_FPU
-       if (!current_tcb->user_task)
-               rthal_enable_fpu();
+       rthal_enable_fpu();
 #endif /* CONFIG_XENO_HW_FPU */
 }
 


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

Reply via email to