Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/vfp Deal with lack of VFP.



details:   https://anonhg.NetBSD.org/src/rev/c679b484d8dd
branches:  trunk
changeset: 789590:c679b484d8dd
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Aug 23 18:11:47 2013 +0000

description:
Deal with lack of VFP.

diffstat:

 sys/arch/arm/vfp/vfp_init.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r cd07d5932e8a -r c679b484d8dd sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c       Fri Aug 23 17:41:03 2013 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c       Fri Aug 23 18:11:47 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: vfp_init.c,v 1.25 2013/08/23 05:22:01 matt Exp $ */
+/*      $NetBSD: vfp_init.c,v 1.26 2013/08/23 18:11:47 matt Exp $ */
 
 /*
  * Copyright (c) 2008 ARM Ltd
@@ -189,12 +189,12 @@
         */
        if (pcb->pcb_vfp.vfp_fpexc & VFP_FPEXC_EN)
                return 1;
-#endif
 
        if (__predict_false(!vfp_used_p())) {
                pcb->pcb_vfp.vfp_fpscr =
                    (VFP_FPSCR_DN | VFP_FPSCR_FZ);      /* Runfast */
        }
+#endif
 
        /*
         * We know know the pcb has the saved copy.



Home | Main Index | Thread Index | Old Index