Subject: CVS commit: src/sys/arch/x86/include
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <firstname.lastname@example.org>
Date: 08/08/2006 16:34:34
Module Name: src
Committed By: cube
Date: Tue Aug 8 16:34:34 UTC 2006
src/sys/arch/x86/include: cpuvar.h powernow.h
files.x86 isn't included by Xen kernels, so opt_powernow_k8.h never gets
created by config(1), and thus it's not safe to use it in cpuvar.h.
Simply declare the prototype for k8_powernow_init in powernow.h. No need
to #ifdef protect a prototype, after all, only its users.
Un-breaks build of Xen kernels.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/x86/include/powernow.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.