diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-11-04 06:55:37 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-11-04 06:55:37 +0000 |
commit | 7e28db5e49a7a6bc415d4c3f964ca65101529142 (patch) | |
tree | bae4ece7faf09cda3ff19a28a97e43e031cea4a1 /sys/arch/i386/include | |
parent | adde59ea69215cb0620534dbafc2ec9fef20a3cb (diff) |
only build powernow pieces as appropriate for config'd cpu types
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/cpu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 46080abc651..70a827b0846 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.72 2005/10/28 07:03:41 tedu Exp $ */ +/* $OpenBSD: cpu.h,v 1.73 2005/11/04 06:55:36 tedu Exp $ */ /* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */ /*- @@ -369,10 +369,12 @@ void p4tcc_init(int, int); int p4tcc_setperf(int); #endif -#if !defined(SMALL_KERNEL) && defined(I686_CPU) +#if !defined(SMALL_KERNEL) && defined(I586_CPU) /* powernow.c */ void k6_powernow_init(void); int k6_powernow_setperf(int); +#endif +#if !defined(SMALL_KERNEL) && defined(I686_CPU) /* powernow-k7.c */ void k7_powernow_init(void); int k7_powernow_setperf(int); |