diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-10-31 23:49:58 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-12-16 18:10:56 +0000 |
commit | 0bc6791707694c77b3543de39f77972a65de917a (patch) | |
tree | b3c0f870535093c701816abcde5cd617b1cbf46e /arch/mips/lib/ucmpdi2.c | |
parent | ff42d62047e45075c54a5543bd4f110dfd032d11 (diff) |
MIPS: AR7: Fix loops per jiffies on TNETD7200 devices
TNETD7200 run their CPU clock faster than the default CPU clock we assume.
In order to have the correct loops per jiffies settings, initialize clocks right
before setting mips_hpt_frequency. As a side effect, we can no longer use
msleep in clocks.c which requires other parts of the kernel to be initialized,
so replace these with mdelay.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1749/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lib/ucmpdi2.c')
0 files changed, 0 insertions, 0 deletions