Module Name:    src
Committed By:   matt
Date:           Wed Apr 15 13:22:50 UTC 2015

Modified Files:
        src/sys/arch/arm/arm: undefined.c

Log Message:
Remove FAST_FPE code


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/arm/arm/undefined.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/arm/undefined.c
diff -u src/sys/arch/arm/arm/undefined.c:1.55 src/sys/arch/arm/arm/undefined.c:1.56
--- src/sys/arch/arm/arm/undefined.c:1.55	Tue Oct 14 22:23:22 2014
+++ src/sys/arch/arm/arm/undefined.c	Wed Apr 15 13:22:50 2015
@@ -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 @@ undefinedinstruction(trapframe_t *tf)
 	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
 }

Reply via email to