All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] bcm63xx: fix printed CPU frequency
@ 2009-06-01 18:17 Florian Fainelli
  2009-06-02 10:00 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-06-01 18:17 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips, Maxime Bizon

This patch fixes the CPU frequency printing which is
printed in Hz and not MHz.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/bcm63xx/cpu.c b/arch/mips/bcm63xx/cpu.c
index 0a403dd..9d6cfce 100644
--- a/arch/mips/bcm63xx/cpu.c
+++ b/arch/mips/bcm63xx/cpu.c
@@ -239,7 +239,7 @@ void __init bcm63xx_cpu_init(void)
 	printk(KERN_INFO "Detected Broadcom 0x%04x CPU revision %02x\n",
 	       bcm63xx_cpu_id, bcm63xx_cpu_rev);
 	printk(KERN_INFO "CPU frequency is %u MHz\n",
-	       bcm63xx_cpu_freq);
+	       bcm63xx_cpu_freq / 1000000);
 	printk(KERN_INFO "%uMB of RAM installed\n",
 	       bcm63xx_memory_size >> 20);
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-02 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-01 18:17 [PATCH 1/3] bcm63xx: fix printed CPU frequency Florian Fainelli
2009-06-02 10:00 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.