summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/clock.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-12-23 04:48:42 +0000
committermarcel <marcel@FreeBSD.org>2009-12-23 04:48:42 +0000
commit6c6778bb48b1c2300ef6ed51d5ef47cbeaa34830 (patch)
tree80171d7b1c78845525ce5c95e2ea3ec5883cf92b /sys/ia64/include/clock.h
parent84986e81a575ba523a5119bdf147f38106fcb2c2 (diff)
downloadFreeBSD-src-6c6778bb48b1c2300ef6ed51d5ef47cbeaa34830.zip
FreeBSD-src-6c6778bb48b1c2300ef6ed51d5ef47cbeaa34830.tar.gz
Export the bus, cpu and itc frequencies under the hw.freq sysctl node.
The frequencies are in MHz (i.e. a value of 1000 represents 1GHz). The frequencies are rounded to the nearest whole MHz. While here, rename and re-type bus_frequency, processor_frequency and itc_frequency to bus_freq, cpu_freq and itc_freq and make them static. As unsigned integers, the hw.freq.cpu sysctl can more easily be made generic (across all architectures) making porting easier. MFC after: 3 days
Diffstat (limited to 'sys/ia64/include/clock.h')
-rw-r--r--sys/ia64/include/clock.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ia64/include/clock.h b/sys/ia64/include/clock.h
index aa4220a..772fc2a 100644
--- a/sys/ia64/include/clock.h
+++ b/sys/ia64/include/clock.h
@@ -14,7 +14,6 @@
#define CLOCK_VECTOR 254
extern uint64_t ia64_clock_reload;
-extern uint64_t itc_frequency;
#endif
OpenPOWER on IntegriCloud