X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5e9852b169f255fa1094d08f470553035edf447a..f720de03be1647e484820e14cdf3cacb3085dbec:/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;