Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Remove FAST_FPE code



details:   https://anonhg.NetBSD.org/src/rev/7f0460598cd1
branches:  trunk
changeset: 337467:7f0460598cd1
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Apr 15 13:22:50 2015 +0000

description:
Remove FAST_FPE code

diffstat:

 sys/arch/arm/arm/undefined.c |  23 ++---------------------
 1 files changed, 2 insertions(+), 21 deletions(-)

diffs (43 lines):

diff -r 2b3b2e229d3e -r 7f0460598cd1 sys/arch/arm/arm/undefined.c
--- a/sys/arch/arm/arm/undefined.c      Wed Apr 15 13:02:16 2015 +0000
+++ b/sys/arch/arm/arm/undefined.c      Wed Apr 15 13:22:50 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: undefined.c,v 1.55 2014/10/14 22:23:22 skrll Exp $     */
+/*     $NetBSD: undefined.c,v 1.56 2015/04/15 13:22:50 matt Exp $      */
 
 /*
  * Copyright (c) 2001 Ben Harris.
@@ -55,7 +55,7 @@
 #include <sys/kgdb.h>
 #endif
 
-__KERNEL_RCSID(0, "$NetBSD: undefined.c,v 1.55 2014/10/14 22:23:22 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: undefined.c,v 1.56 2015/04/15 13:22:50 matt Exp $");
 
 #include <sys/kmem.h>
 #include <sys/queue.h>
@@ -475,24 +475,5 @@
        if ((fault_code & FAULT_USER) == 0)
                return;
 
-#ifdef FAST_FPE
-       /* Optimised exit code */
-       {
-               /*
-                * Check for reschedule request, at the moment there is only
-                * 1 ast so this code should always be run
-                */
-               if (curcpu()->ci_want_resched) {
-                       /*
-                        * We are being preempted.
-                        */
-                       preempt();
-               }
-
-               /* Invoke MI userret code */
-               mi_userret(l);
-       }
-#else
        userret(l);
-#endif
 }



Home | Main Index | Thread Index | Old Index