summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-12-03 22:27:51 +0000
committerjkim <jkim@FreeBSD.org>2010-12-03 22:27:51 +0000
commit477858ee257a6cd5108309ebe5f2cc80ab26c5e1 (patch)
tree2d4950430b674ff1af637d106dc187083407881c
parentcb2b11e5ededab1a5c6e1cc592c6d7f5c159583c (diff)
downloadFreeBSD-src-477858ee257a6cd5108309ebe5f2cc80ab26c5e1.zip
FreeBSD-src-477858ee257a6cd5108309ebe5f2cc80ab26c5e1.tar.gz
Revert r216161. It is not necessary because we zero-fill BSS anyway.
Requested by: jhb
-rw-r--r--sys/amd64/amd64/tsc.c2
-rw-r--r--sys/i386/i386/tsc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index 65b0990..9ed36eb 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
#include "cpufreq_if.h"
-uint64_t tsc_freq = 0;
+uint64_t tsc_freq;
int tsc_is_broken;
int tsc_is_invariant;
static eventhandler_tag tsc_levels_tag, tsc_pre_tag, tsc_post_tag;
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index 0fb2c9f..185f240 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
#include "cpufreq_if.h"
-uint64_t tsc_freq = 0;
+uint64_t tsc_freq;
int tsc_is_broken;
int tsc_is_invariant;
u_int tsc_present;
OpenPOWER on IntegriCloud