summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2018-03-07 01:39:08 +0000
committerjsg <jsg@openbsd.org>2018-03-07 01:39:08 +0000
commit097263ef55cd944853c7a11ae85f627f680805e5 (patch)
treec6d3983e7c0dbbb929349e6643b00c24f463f7f7
parentStop assuming intel model 0x55 'Skylake X' has a fixed 25 MHz tsc freq. (diff)
downloadwireguard-openbsd-097263ef55cd944853c7a11ae85f627f680805e5.tar.xz
wireguard-openbsd-097263ef55cd944853c7a11ae85f627f680805e5.zip
Mhz -> MHz
-rw-r--r--sys/arch/amd64/amd64/tsc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/tsc.c b/sys/arch/amd64/amd64/tsc.c
index c86e435f63f..3aa079948a5 100644
--- a/sys/arch/amd64/amd64/tsc.c
+++ b/sys/arch/amd64/amd64/tsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tsc.c,v 1.7 2018/03/07 01:33:07 jsg Exp $ */
+/* $OpenBSD: tsc.c,v 1.8 2018/03/07 01:39:08 jsg Exp $ */
/*
* Copyright (c) 2016,2017 Reyk Floeter <reyk@openbsd.org>
* Copyright (c) 2017 Adam Steen <adam@adamsteen.com.au>
@@ -56,13 +56,13 @@ tsc_freq_cpuid(struct cpu_info *ci)
case 0x5e: /* Skylake desktop */
case 0x8e: /* Kabylake mobile */
case 0x9e: /* Kabylake desktop */
- khz = 24000; /* 24.0 Mhz */
+ khz = 24000; /* 24.0 MHz */
break;
case 0x5f: /* Atom Denverton */
- khz = 25000; /* 25.0 Mhz */
+ khz = 25000; /* 25.0 MHz */
break;
case 0x5c: /* Atom Goldmont */
- khz = 19200; /* 19.2 Mhz */
+ khz = 19200; /* 19.2 MHz */
break;
}
}