Commit 62c592ed authored by Marcelo Tosatti's avatar Marcelo Tosatti Committed by Linus Torvalds

[PATCH] ppc32 8xx: fix warnings in m8xx_setup.c

The following patch fixes two warnings in arch/ppc/syslib/m8xx_setup.c
Signed-off-by: default avatarMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 81d4af13
...@@ -57,7 +57,7 @@ unsigned char __res[sizeof(bd_t)]; ...@@ -57,7 +57,7 @@ unsigned char __res[sizeof(bd_t)];
extern void m8xx_ide_init(void); extern void m8xx_ide_init(void);
extern unsigned long find_available_memory(void); extern unsigned long find_available_memory(void);
extern void m8xx_cpm_reset(); extern void m8xx_cpm_reset(void);
extern void m8xx_wdt_handler_install(bd_t *bp); extern void m8xx_wdt_handler_install(bd_t *bp);
extern void rpxfb_alloc_pages(void); extern void rpxfb_alloc_pages(void);
extern void cpm_interrupt_init(void); extern void cpm_interrupt_init(void);
...@@ -266,8 +266,8 @@ m8xx_show_percpuinfo(struct seq_file *m, int i) ...@@ -266,8 +266,8 @@ m8xx_show_percpuinfo(struct seq_file *m, int i)
bp = (bd_t *)__res; bp = (bd_t *)__res;
seq_printf(m, "clock\t\t: %ldMHz\n" seq_printf(m, "clock\t\t: %uMHz\n"
"bus clock\t: %ldMHz\n", "bus clock\t: %uMHz\n",
bp->bi_intfreq / 1000000, bp->bi_intfreq / 1000000,
bp->bi_busfreq / 1000000); bp->bi_busfreq / 1000000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment