]> git.karo-electronics.de Git - linux-beck.git/commitdiff
microblaze: Fix number of pvr regs
authorMichal Simek <monstr@monstr.eu>
Tue, 27 Jul 2010 10:53:15 +0000 (12:53 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:39 +0000 (10:22 +0200)
Microblaze has only 11 pvr regs according manual.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/pvr.h

index e38abc7714b60bff43f11b2c52e5401cfd3e8db5..9578666e98baff8f3051a694101d07bb0732eb39 100644 (file)
@@ -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 */