wrong EF_CP0_CAUSE offset
PATCH 1/1 wrong EF_CP0_CAUSE offset
reg.h has the wrong offset EF_CP0_CAUSE and the wrong pt_regs size.
This seems to be a problem only for mips (32bit) tree.
Drow found this bug, BTW.
Jun
include/asm-mips/reg.h renamed from include/asm-mips/reg.h.orig +2 -2
@@ -59,8 +59,8 @@#define EF_CP0_EPC 40#define EF_CP0_BADVADDR 41#define EF_CP0_STATUS 42 -#define EF_CP0_CAUSE 44 +#define EF_CP0_CAUSE 43 -#define EF_SIZE 180/* size in bytes */ +#define EF_SIZE 176/* size in bytes */ #endif /* __ASM_MIPS_REG_H */
Quoted 5 lines · Jun Sun
reg.hhas the wrong offsetEF_CP0_CAUSEand the wrongpt_regssize.This seems to be a problem only for mips (32bit) tree.
Drow found this bug, BTW.
Thanks, patch applied to both 2.2 and 2.4. Fortunately the consequences of this bug should hardly bite any user.
Ralf