Module Name:    src
Committed By:   matt
Date:           Wed Dec 26 19:15:16 UTC 2012

Modified Files:
        src/sys/arch/mips/mips: mips_fpu.c

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/mips/mips/mips_fpu.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/mips/mips/mips_fpu.c
diff -u src/sys/arch/mips/mips/mips_fpu.c:1.9 src/sys/arch/mips/mips/mips_fpu.c:1.10
--- src/sys/arch/mips/mips/mips_fpu.c:1.9	Wed Dec 26 19:09:07 2012
+++ src/sys/arch/mips/mips/mips_fpu.c	Wed Dec 26 19:15:16 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: mips_fpu.c,v 1.9 2012/12/26 19:09:07 matt Exp $	*/
+/*	$NetBSD: mips_fpu.c,v 1.10 2012/12/26 19:15:16 matt Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mips_fpu.c,v 1.9 2012/12/26 19:09:07 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_fpu.c,v 1.10 2012/12/26 19:15:16 matt Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -218,7 +218,7 @@ mips_fpu_state_load(lwp_t *l, u_int flag
 	/*
 	 * If this is the first time the state is being loaded, zero it first.
 	 */
-	if (__predict_false(!(flags & PCU_LOADED) == 0)) {
+	if (__predict_false((flags & PCU_LOADED) == 0)) {
 		memset(&pcb->pcb_fpregs, 0, sizeof(pcb->pcb_fpregs));
 	}
 

Reply via email to