summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-04-21 14:04:39 +0200
committerMichal Simek <monstr@monstr.eu>2009-04-23 16:09:18 +0200
commit79533fd4cb7c261694d3b7d5bdde78836bc35b49 (patch)
tree1eaccd19c9841cabdab13e80e42a2c13a617f19a
parentmicroblaze: iowrite upon timeout (diff)
downloadlinux-79533fd4cb7c261694d3b7d5bdde78836bc35b49.tar.xz
linux-79533fd4cb7c261694d3b7d5bdde78836bc35b49.zip
microblaze: Fix USR1/2 pvr printing message
Signed-off-by: Michal Simek <monstr@monstr.eu>
-rw-r--r--arch/microblaze/kernel/cpu/mb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/cpu/mb.c b/arch/microblaze/kernel/cpu/mb.c
index 3b6212bdc8dc..4dcfccdbc364 100644
--- a/arch/microblaze/kernel/cpu/mb.c
+++ b/arch/microblaze/kernel/cpu/mb.c
@@ -115,8 +115,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
cpuinfo.hw_debug ? "yes" : "no");
count += seq_printf(m,
- "PVR-USR1:\t%x\n"
- "PVR-USR2:\t%x\n",
+ "PVR-USR1:\t%02x\n"
+ "PVR-USR2:\t%08x\n",
cpuinfo.pvr_user1,
cpuinfo.pvr_user2);