Skip to content

Commit e0d0ec5

Browse files
committed
ARCv3: Change address of MULTIPLY_BUILD from 0xC8 to 0x7B
MULTIPLY_BUILD AUX register resides in 0x7B for both ARCv2 and ARCv3. In turn, 0xC8 is occupied by FPU_BUILD and it's used correctly by the kernel. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
1 parent 422b687 commit e0d0ec5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

arch/arc/include/asm/arcregs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#define ARC_REG_XY_MEM_BCR 0x79
2525
#define ARC_REG_MAC_BCR 0x7a
2626
#define ARC_REG_MPY_BCR 0x7b
27-
#define ARC_REG_MPY_ARC64_BCR 0xc8
2827
#define ARC_REG_SWAP_BCR 0x7c
2928
#define ARC_REG_NORM_BCR 0x7d
3029
#define ARC_REG_MIXMAX_BCR 0x7e

arch/arc/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ static int arcv3_mumbojumbo(int c, struct cpuinfo_arc *info, char *buf, int len)
320320
if (arc64) {
321321
struct bcr_mpy_arc64 mpy;
322322

323-
READ_BCR(ARC_REG_MPY_ARC64_BCR, mpy);
323+
READ_BCR(ARC_REG_MPY_BCR, mpy);
324324
if (mpy.ver)
325325
scnprintf(mpy_nm, 32, "mpy%s ", mpy.is64x64 ? " [64x64]" : "");
326326

0 commit comments

Comments
 (0)