From 28e14e1a3baa8603d24942b40e29199cc3c7881f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 23 Oct 2007 03:04:19 +0100 Subject: [PATCH] --- yaml --- r: 72767 b: refs/heads/master c: 2c771a4c28a71b6acc0bd6b7ef56e0a1849c9b09 h: refs/heads/master i: 72765: dcde5b57fd0f20fb56cc9d4ba47019ad22b439f0 72763: 64521fa0f5f07d7a6ef21fc88d7948eee5900c98 72759: 4e1db5488566dbf62668106c8c84b5b312c58306 72751: c8ef8fbf111bf0282fd15e5065357787e1f552af 72735: 54341e7fb8e997b94730bf42e5583c12f15e0632 72703: 95b9ede29621d113f5e224cc94d0c33e09e6341b v: v3 --- [refs] | 2 +- trunk/arch/mips/au1000/common/time.c | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index e95cc431dabe..5313b910d82f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 310a09d8508b8e048c7efdf53bb91f2cd787b58e +refs/heads/master: 2c771a4c28a71b6acc0bd6b7ef56e0a1849c9b09 diff --git a/trunk/arch/mips/au1000/common/time.c b/trunk/arch/mips/au1000/common/time.c index c8116bcacf55..0673fc0e36b6 100644 --- a/trunk/arch/mips/au1000/common/time.c +++ b/trunk/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);