summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-02-19 03:00:34 +0000
committerbde <bde@FreeBSD.org>2001-02-19 03:00:34 +0000
commit405108c6cdec7aa38d58c740b468341671eca930 (patch)
treea53602022603b9eeeb2bc5dbea7a37e3d31b8d08 /sys/amd64/include/cpu.h
parent336d5fa6f80386b02737b8b1e00d1cb64771740f (diff)
downloadFreeBSD-src-405108c6cdec7aa38d58c740b468341671eca930.zip
FreeBSD-src-405108c6cdec7aa38d58c740b468341671eca930.tar.gz
Fixed style bugs in clock.c rev.1.164 and cpu.h rev.1.52-1.53 -- declare
tsc_present in the right places (together with other variables of the same linkage), and don't use messy ifdefs just to avoid exporting it in some cases.
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index e644b50..9ecc87a 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -105,13 +105,10 @@
#ifdef _KERNEL
extern char btext[];
extern char etext[];
+extern u_int tsc_present;
void fork_trampoline __P((void));
-#if defined(I386_CPU) || defined(I486_CPU)
-extern u_int tsc_present;
-#endif
-
/*
* Return contents of in-cpu fast counter as a sort of "bogo-time"
* for non-critical timing.
OpenPOWER on IntegriCloud