aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/tx4927/common/tx4927_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/tx4927/common/tx4927_setup.c')
-rw-r--r--arch/mips/tx4927/common/tx4927_setup.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/mips/tx4927/common/tx4927_setup.c b/arch/mips/tx4927/common/tx4927_setup.c
index c8e49feb345b..b18ed58f88a9 100644
--- a/arch/mips/tx4927/common/tx4927_setup.c
+++ b/arch/mips/tx4927/common/tx4927_setup.c
@@ -124,10 +124,10 @@ dump_cp0(char *key)
124 return; 124 return;
125} 125}
126 126
127void print_pic(char *key, u32 reg, char *name) 127void print_pic(char *key, unsigned long reg, char *name)
128{ 128{
129 printk("%s pic:0x%08x:%s=0x%08x\n", key, reg, name, 129 printk(KERN_INFO "%s pic:0x%08lx:%s=0x%08x\n", key, reg, name,
130 TX4927_RD(reg)); 130 __raw_readl((void __iomem *)reg));
131 return; 131 return;
132} 132}
133 133
@@ -166,9 +166,10 @@ void dump_pic(char *key)
166} 166}
167 167
168 168
169void print_addr(char *hdr, char *key, u32 addr) 169void print_addr(char *hdr, char *key, unsigned long addr)
170{ 170{
171 printk("%s %s:0x%08x=0x%08x\n", hdr, key, addr, TX4927_RD(addr)); 171 printk(KERN_INFO "%s %s:0x%08lx=0x%08x\n", hdr, key, addr,
172 __raw_readl((void __iomem *)addr));
172 return; 173 return;
173} 174}
174 175