Date: Thu, 5 Mar 2009 16:56:16 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 fpu.c trap.c src/sys/amd64/include fpu.h Message-ID: <200903051656.n25GuVO0038102@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-03-05 16:56:16 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 fpu.c trap.c
sys/amd64/include fpu.h
Log:
SVN rev 189412 on 2009-03-05 16:56:16Z by jhb
A few cleanups to the FPU code on amd64:
- fpudna() always returned 1 since amd64 CPUs always have FPUs. Change
the function to return void and adjust the calling code in trap() to
assume the return 1 case is the only case.
- Remove fpu_cleanstate_ready as it is always true when it is tested.
Also, only initialize fpu_cleanstate when fpuinit() is called on the BSP.
Reviewed by: bde
Revision Changes Path
1.162 +16 -20 src/sys/amd64/amd64/fpu.c
1.329 +5 -12 src/sys/amd64/amd64/trap.c
1.35 +1 -1 src/sys/amd64/include/fpu.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903051656.n25GuVO0038102>
