Module Name: src
Committed By: andvar
Date: Sun Sep 3 21:43:48 UTC 2023
Modified Files:
src/sys/arch/hppa/spmath: fpudispatch.c
Log Message:
remove duplicate "(unsigned *) &atmp" argument passed to dbl_to_sgl_fcnvfxt().
fixes build with TIMEX option enabled for hppa.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hppa/spmath/fpudispatch.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/hppa/spmath/fpudispatch.c
diff -u src/sys/arch/hppa/spmath/fpudispatch.c:1.4 src/sys/arch/hppa/spmath/fpudispatch.c:1.5
--- src/sys/arch/hppa/spmath/fpudispatch.c:1.4 Sat Mar 14 21:04:10 2009
+++ src/sys/arch/hppa/spmath/fpudispatch.c Sun Sep 3 21:43:48 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: fpudispatch.c,v 1.4 2009/03/14 21:04:10 dsl Exp $ */
+/* $NetBSD: fpudispatch.c,v 1.5 2023/09/03 21:43:48 andvar Exp $ */
/*
* (c) Copyright 1991 HEWLETT-PACKARD COMPANY
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpudispatch.c,v 1.4 2009/03/14 21:04:10 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpudispatch.c,v 1.5 2023/09/03 21:43:48 andvar Exp $");
#include <sys/types.h>
#include <sys/systm.h>
@@ -691,7 +691,7 @@ decode_06(unsigned ir,unsigned fpregs[])
&status))
error = 1;
if (dbl_to_sgl_fcnvfxt(&fpregs[ta],(unsigned *) &atmp,
- (unsigned *) &atmp,&status))
+ &status))
error = 1;
}
else {