Module: xenomai-2.4
Branch: master
Commit: 81f91cc59826d04ccb7bef706820a4be6de2ccc9
URL:    
http://git.xenomai.org/?p=xenomai-2.4.git;a=commit;h=81f91cc59826d04ccb7bef706820a4be6de2ccc9

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Jul 16 19:40:56 2009 +0200

powerpc: enable FE0/FE1 exceptions during fpu init

---

 ksrc/arch/powerpc/fpu.S |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ksrc/arch/powerpc/fpu.S b/ksrc/arch/powerpc/fpu.S
index 4c117e0..87147d1 100644
--- a/ksrc/arch/powerpc/fpu.S
+++ b/ksrc/arch/powerpc/fpu.S
@@ -71,9 +71,7 @@ _GLOBAL(rthal_save_fpu)
 /* r3 = &tcb->fpuenv */
 _GLOBAL(rthal_init_fpu)
        mfmsr   r5
-       ori     r5,r5,MSR_FP|MSR_FE1    /* RT kernel threads always operate in 
*/
-       li      r4,MSR_FE0              /* imprecise non-recoverable exception 
mode. */
-       andc    r5,r5,r4
+       ori     r5,r5,MSR_FP|MSR_FE0|MSR_FE1
        SYNC
        MTMSRD(r5)
 


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

Reply via email to