Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 03/18/2007 07:21:41
Module Name: src
Committed By: xtraeme
Date: Sun Mar 18 07:21:41 UTC 2007
Modified Files:
src/sys/arch/amd64/amd64: identcpu.c
src/sys/arch/i386/i386: est.c identcpu.c
src/sys/arch/i386/include: cpu.h
src/sys/arch/x86/include: powernow.h
src/sys/arch/x86/x86: powernow_k8.c
Log Message:
There's no need to run est_init or k8_powernow_init on each CPU.
Just run it once (in the first cpu probed) with the RUN_ONCE(9)
framework.
Change the argument of est_init and k8_powernow_init to void, we don't
need cpu_info * anymore.
Suggested by tls@ and mrg@.
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/amd64/amd64/identcpu.c
cvs rdiff -r1.32 -r1.33 src/sys/arch/i386/i386/est.c
cvs rdiff -r1.61 -r1.62 src/sys/arch/i386/i386/identcpu.c
cvs rdiff -r1.136 -r1.137 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.7 -r1.8 src/sys/arch/x86/include/powernow.h
cvs rdiff -r1.8 -r1.9 src/sys/arch/x86/x86/powernow_k8.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.