svn commit: r238914 - in head/sys: amd64/amd64 i386/isa
Konstantin Belousov
kib at FreeBSD.org
Mon Jul 30 19:26:02 UTC 2012
Author: kib
Date: Mon Jul 30 19:26:02 2012
New Revision: 238914
URL: http://svn.freebsd.org/changeset/base/238914
Log:
Change (unused) prototype for stmxcsr() to match reality.
Noted by: jhb
MFC after: 1 week
Modified:
head/sys/amd64/amd64/fpu.c
head/sys/i386/isa/npx.c
Modified: head/sys/amd64/amd64/fpu.c
==============================================================================
--- head/sys/amd64/amd64/fpu.c Mon Jul 30 19:05:41 2012 (r238913)
+++ head/sys/amd64/amd64/fpu.c Mon Jul 30 19:26:02 2012 (r238914)
@@ -106,7 +106,7 @@ void fnstsw(caddr_t addr);
void fxsave(caddr_t addr);
void fxrstor(caddr_t addr);
void ldmxcsr(u_int csr);
-void stmxcsr(u_int csr);
+void stmxcsr(u_int *csr);
void xrstor(char *addr, uint64_t mask);
void xsave(char *addr, uint64_t mask);
Modified: head/sys/i386/isa/npx.c
==============================================================================
--- head/sys/i386/isa/npx.c Mon Jul 30 19:05:41 2012 (r238913)
+++ head/sys/i386/isa/npx.c Mon Jul 30 19:26:02 2012 (r238914)
@@ -114,7 +114,7 @@ void frstor(caddr_t addr);
#ifdef CPU_ENABLE_SSE
void fxsave(caddr_t addr);
void fxrstor(caddr_t addr);
-void stmxcsr(u_int csr);
+void stmxcsr(u_int *csr);
#endif
#endif /* __GNUCLIKE_ASM && !lint */
More information about the svn-src-all
mailing list