summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-01-22 20:44:34 +0000
committerimp <imp@FreeBSD.org>2010-01-22 20:44:34 +0000
commita3046a69ae75dc36a90538e7dfe73440600c4bef (patch)
treeb83e4afb7ed9c22a0f55dba7bb36ddf11b87b327
parentf7666a897032deeab31ef3a85464aa08ac4b13ea (diff)
downloadFreeBSD-src-a3046a69ae75dc36a90538e7dfe73440600c4bef.zip
FreeBSD-src-a3046a69ae75dc36a90538e7dfe73440600c4bef.tar.gz
Declare octeon_get_clock_rate, now exported from octeon_machdep
-rw-r--r--sys/mips/cavium/octeon_pcmap_regs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/mips/cavium/octeon_pcmap_regs.h b/sys/mips/cavium/octeon_pcmap_regs.h
index 1655566..9c92d4e 100644
--- a/sys/mips/cavium/octeon_pcmap_regs.h
+++ b/sys/mips/cavium/octeon_pcmap_regs.h
@@ -1,7 +1,9 @@
/*
* This product includes software developed by the University of
* California, Berkeley and its contributors."
-*/
+ */
+
+/* $FreeBSD$ */
#ifndef __OCTEON_PCMAP_REGS_H__
#define __OCTEON_PCMAP_REGS_H__
@@ -904,8 +906,7 @@ extern uint64_t ciu_get_int_summary(int core_num, int intx, int enx);
extern void octeon_ciu_start_gtimer(int timer, u_int one_shot, uint64_t time_cycles);
extern void octeon_ciu_stop_gtimer(int timer);
extern int octeon_board_real(void);
-
-
+extern unsigned long octeon_get_clock_rate(void);
typedef union {
uint64_t word64;
OpenPOWER on IntegriCloud