X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d4aeb1b5c81c3adfa2db01e9a6eebf9ec5b6d35b..4530e52764e0b2206f4bb380c1a7e1bb28621970:/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c 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 b615c2842..8b82ada37 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 #include +#include <6348_map_part.h> +#include <6348_intr.h> #include #include @@ -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;