diff options
author | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2007-05-13 08:18:12 +0000 |
---|---|---|
committer | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2007-05-13 08:18:12 +0000 |
commit | ede4e81e4fed92cdaaff4325b78fa24ec38c0be9 (patch) | |
tree | b611c36990f859427da207e16e6eb3668e0c1675 /sys | |
parent | b2b9c262e492b6115277f7ee3ef96e3b6e4c77c2 (diff) |
Enable powernow on amd64 processors in the GENERIC.MP.
ok tedu
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index b94614799a3..6172d03c534 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.384 2007/05/04 16:39:28 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.385 2007/05/13 08:18:11 gwk Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -1408,7 +1408,7 @@ amd_family5_setup(struct cpu_info *ci) } } -#if !defined(SMALL_KERNEL) && defined(I686_CPU) && !defined(MULTIPROCESSOR) +#if !defined(SMALL_KERNEL) && defined(I686_CPU) void amd_family6_setperf_setup(struct cpu_info *ci) { @@ -1423,7 +1423,7 @@ amd_family6_setperf_setup(struct cpu_info *ci) break; } } -#endif /* !SMALL_KERNEL && I686_CPU && !MULTIPROCESSOR */ +#endif /* !SMALL_KERNEL && I686_CPU */ void amd_family6_setup(struct cpu_info *ci) @@ -1438,10 +1438,8 @@ amd_family6_setup(struct cpu_info *ci) else pagezero = i686_pagezero; -#if !defined(MULTIPROCESSOR) setperf_setup = amd_family6_setperf_setup; #endif -#endif } #if !defined(SMALL_KERNEL) && defined(I686_CPU) |