summaryrefslogtreecommitdiff
path: root/sys/arch/i386/i386/powernow-k7.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/i386/powernow-k7.c')
-rw-r--r--sys/arch/i386/i386/powernow-k7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/powernow-k7.c b/sys/arch/i386/i386/powernow-k7.c
index 6d57470b3ce..fd30622fd72 100644
--- a/sys/arch/i386/i386/powernow-k7.c
+++ b/sys/arch/i386/i386/powernow-k7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow-k7.c,v 1.14 2006/04/15 04:57:02 gwk Exp $ */
+/* $OpenBSD: powernow-k7.c,v 1.15 2006/04/15 05:01:15 gwk Exp $ */
/*
* Copyright (c) 2004 Martin Végiard.
@@ -210,7 +210,7 @@ k7_powernow_setperf(int level)
if (cstate->errata_a0)
enable_intr();
- pentium_mhz = ((cstate->state_table[i].freq / 100000)+1)*100;
+ pentium_mhz = cstate->state_table[i].freq;
return 0;
}