From a3046a69ae75dc36a90538e7dfe73440600c4bef Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 22 Jan 2010 20:44:34 +0000 Subject: [PATCH] Declare octeon_get_clock_rate, now exported from octeon_machdep --- sys/mips/cavium/octeon_pcmap_regs.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/mips/cavium/octeon_pcmap_regs.h b/sys/mips/cavium/octeon_pcmap_regs.h index 1655566e5688..9c92d4ecf740 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;