projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310a09d
)
[MIPS] Alchemy: micro-optimizatize time code.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 23 Oct 2007 02:04:19 +0000
(
03:04
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 29 Oct 2007 19:35:32 +0000
(19:35 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/time.c
patch
|
blob
|
history
diff --git
a/arch/mips/au1000/common/time.c
b/arch/mips/au1000/common/time.c
index c8116bcacf551bf09f153de5eedc9c4faa3e94c3..0673fc0e36b64f784729724f191d2168675bd637 100644
(file)
--- a/
arch/mips/au1000/common/time.c
+++ b/
arch/mips/au1000/common/time.c
@@
-262,15
+262,10
@@
void __init plat_timer_setup(struct irqaction *irq)
* we do this.
*/
if (no_au1xxx_32khz) {
- unsigned int c0_status;
-
printk("WARNING: no 32KHz clock found.\n");
- /* Ensure we get CPO_COUNTER interrupts.
- */
- c0_status = read_c0_status();
- c0_status |= IE_IRQ5;
- write_c0_status(c0_status);
+ /* Ensure we get CPO_COUNTER interrupts. */
+ set_c0_status(IE_IRQ5);
}
else {
while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_C0S);