aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/bcu.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-03-21 12:22:41 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-21 12:22:41 -0500
commite031d33efde817ce6b4f907f0fa1ff021301748f (patch)
tree2e9ba300db601f61fdc32813f55114d363d3d4e2 /arch/mips/vr41xx/common/bcu.c
parent52aef8183fbedb0232b20127b089e85e7aa095e3 (diff)
parent48e08101c0fa0e1767cdef13fdaea79cad3106a2 (diff)
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Update defconfigs. [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. [MIPS] TX49XX has prefetch. [MIPS] Kill tlb-andes.c. [MIPS] War on whitespace: cleanup initial spaces followed by tabs. [MIPS] Makefile crapectomy. [MIPS] Reformat __xchg(). [MIPS] Mention Broadcom part number for BigSur board [MIPS] Remove CONFIG_BUILD_ELF64. [MIPS] Further sparsification for 32-bit compat code. [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend [MIPS] Signal cleanup [MIPS] Reformat all of signal32.c with tabs instead of space for consistency [MIPS] Delete unused sys32_waitpid. [MIPS] Make I/O helpers more customizable [MIPS] Symmetric Uniprocessor support for Qemu. [MIPS] sc-rm7k.c cleanup [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. [MIPS] Add early console for Cobalt.
Diffstat (limited to 'arch/mips/vr41xx/common/bcu.c')
-rw-r--r--arch/mips/vr41xx/common/bcu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/vr41xx/common/bcu.c b/arch/mips/vr41xx/common/bcu.c
index de0c1b35f11..ff272b2e839 100644
--- a/arch/mips/vr41xx/common/bcu.c
+++ b/arch/mips/vr41xx/common/bcu.c
@@ -183,11 +183,11 @@ static inline unsigned long calculate_tclock(uint16_t clkspeed, unsigned long pc
183 switch (current_cpu_data.cputype) { 183 switch (current_cpu_data.cputype) {
184 case CPU_VR4111: 184 case CPU_VR4111:
185 if (!(clkspeed & DIV2B)) 185 if (!(clkspeed & DIV2B))
186 tclock = pclock / 2; 186 tclock = pclock / 2;
187 else if (!(clkspeed & DIV3B)) 187 else if (!(clkspeed & DIV3B))
188 tclock = pclock / 3; 188 tclock = pclock / 3;
189 else if (!(clkspeed & DIV4B)) 189 else if (!(clkspeed & DIV4B))
190 tclock = pclock / 4; 190 tclock = pclock / 4;
191 break; 191 break;
192 case CPU_VR4121: 192 case CPU_VR4121:
193 tclock = pclock / DIVT(clkspeed); 193 tclock = pclock / DIVT(clkspeed);