aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c')
-rw-r--r--target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c b/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c
index b615c28429..8b82ada371 100644
--- a/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c
+++ b/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c
@@ -35,6 +35,8 @@
#include <asm/div64.h>
#include <asm/time.h>
+#include <6348_map_part.h>
+#include <6348_intr.h>
#include <bcm_map_part.h>
#include <bcm_intr.h>
@@ -54,7 +56,7 @@ static unsigned long r4k_cur; /* What counter should be at next timer irq */
static inline unsigned long __init calculateCpuSpeed(void)
{
- UINT32 pllStrap = PERF->PllStrap;
+ u32 pllStrap = PERF->PllStrap;
int n1 = (pllStrap & PLL_N1_MASK) >> PLL_N1_SHFT;
int n2 = (pllStrap & PLL_N2_MASK) >> PLL_N2_SHFT;
int m1cpu = (pllStrap & PLL_M1_CPU_MASK) >> PLL_M1_CPU_SHFT;