浏览代码

microblaze: Fix USR1/2 pvr printing message

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 16 年之前
父节点
当前提交
79533fd4cb
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);