File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 152152#define PPC_INST_LWSYNC 0x7c2004ac
153153#define PPC_INST_SYNC 0x7c0004ac
154154#define PPC_INST_SYNC_MASK 0xfc0007fe
155+ #define PPC_INST_ISYNC 0x4c00012c
155156#define PPC_INST_LXVD2X 0x7c000698
156157#define PPC_INST_MCRXR 0x7c000400
157158#define PPC_INST_MCRXR_MASK 0xfc0007fe
Original file line number Diff line number Diff line change @@ -352,12 +352,11 @@ static inline int check_io_access(struct pt_regs *regs)
352352 * For the debug message, we look at the preceding
353353 * load or store.
354354 */
355- if (* nip == 0x60000000 ) /* nop */
355+ if (* nip == PPC_INST_NOP )
356356 nip -= 2 ;
357- else if (* nip == 0x4c00012c ) /* isync */
357+ else if (* nip == PPC_INST_ISYNC )
358358 -- nip ;
359- if (* nip == 0x7c0004ac || (* nip >> 26 ) == 3 ) {
360- /* sync or twi */
359+ if (* nip == PPC_INST_SYNC || (* nip >> 26 ) == OP_TRAP ) {
361360 unsigned int rb ;
362361
363362 -- nip ;
You can’t perform that action at this time.
0 commit comments