svn commit: r239126 - head/sys/mips/mips

Warner Losh imp at FreeBSD.org
Tue Aug 7 08:37:35 UTC 2012


Author: imp
Date: Tue Aug  7 08:37:35 2012
New Revision: 239126
URL: http://svn.freebsd.org/changeset/base/239126

Log:
  Fix obvious problem with emulate_fp sysctl.
  
  Submitted by:	Paul Ambrose <ambrosehua at gmail.com>

Modified:
  head/sys/mips/mips/trap.c

Modified: head/sys/mips/mips/trap.c
==============================================================================
--- head/sys/mips/mips/trap.c	Tue Aug  7 08:36:10 2012	(r239125)
+++ head/sys/mips/mips/trap.c	Tue Aug  7 08:37:35 2012	(r239126)
@@ -302,7 +302,7 @@ static int emulate_fp = 1;
 static int emulate_fp = 0;
 #endif
 SYSCTL_INT(_machdep, OID_AUTO, emulate_fp, CTLFLAG_RW,
-    &allow_unaligned_acc, 0, "Emulate unimplemented FPU instructions");
+    &emulate_fp, 0, "Emulate unimplemented FPU instructions");
 
 static int emulate_unaligned_access(struct trapframe *frame, int mode);
 


More information about the svn-src-all mailing list