Browse Source

microblaze: Fix USR1/2 pvr printing message

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 16 years ago
parent
commit
79533fd4cb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/microblaze/kernel/cpu/mb.c

+ 2 - 2
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);