This commit is contained in:
simonb 2005-07-27 12:41:09 +00:00
parent 759fbc6504
commit bdc552eaee
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu_implode.c,v 1.4 2003/10/27 04:32:02 simonb Exp $ */
/* $NetBSD: fpu_implode.c,v 1.5 2005/07/27 12:41:09 simonb Exp $ */
/*
* Copyright (c) 1992, 1993
@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fpu_implode.c,v 1.4 2003/10/27 04:32:02 simonb Exp $");
__KERNEL_RCSID(0, "$NetBSD: fpu_implode.c,v 1.5 2005/07/27 12:41:09 simonb Exp $");
#include <sys/types.h>
#include <sys/systm.h>
@ -184,7 +184,8 @@ toinf(struct fpemu *fe, int sign)
inf = sign;
break;
}
if (inf) fe->fe_cx |= FPSCR_OX;
if (inf)
fe->fe_cx |= FPSCR_OX;
return (inf);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: syncicache.c,v 1.9 2005/02/26 22:58:56 perry Exp $ */
/* $NetBSD: syncicache.c,v 1.10 2005/07/27 12:42:51 simonb Exp $ */
/*
* Copyright (C) 1995-1997, 1999 Wolfgang Solfrank.
@ -87,7 +87,8 @@ getcachelinesize(void)
_cache_info.icache_size = _cachelinesize;
_cache_info.icache_line_size = _cachelinesize;
/* If there is no cache, indicate we have issued the sysctl. */
if (!_cachelinesize) _cachelinesize = 1;
if (!_cachelinesize)
_cachelinesize = 1;
}
#endif