瀏覽代碼

microblaze: Fix number of pvr regs

Microblaze has only 11 pvr regs according manual.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 15 年之前
父節點
當前提交
aee04d76d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/microblaze/include/asm/pvr.h

+ 1 - 1
arch/microblaze/include/asm/pvr.h

@@ -16,7 +16,7 @@
 #define PVR_MSR_BIT 0x400
 
 struct pvr_s {
-	unsigned pvr[16];
+	unsigned pvr[12];
 };
 
 /* The following taken from Xilinx's standalone BSP pvr.h */