Loading arch/arm64/kernel/swp_emulate.c +2 −2 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ u64 swp_count = 0; */ static int swp_handler(struct pt_regs *regs, unsigned int instr) { u32 destreg, data, type; u32 address_reg, destreg, data, type; uintptr_t address; unsigned int res = 0; u32 temp32; Loading Loading @@ -102,7 +102,7 @@ static int swp_handler(struct pt_regs *regs, unsigned int instr) if (type == TYPE_SWPB) { do { temp8 = ldax8((u8 *) address); } while (stlx8((u8 *) address, (u8) data)); } while (stx8((u8 *) address, (u8) data)); regs->regs[destreg] = temp8; regs->pc += 4; swpb_count++; Loading Loading
arch/arm64/kernel/swp_emulate.c +2 −2 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ u64 swp_count = 0; */ static int swp_handler(struct pt_regs *regs, unsigned int instr) { u32 destreg, data, type; u32 address_reg, destreg, data, type; uintptr_t address; unsigned int res = 0; u32 temp32; Loading Loading @@ -102,7 +102,7 @@ static int swp_handler(struct pt_regs *regs, unsigned int instr) if (type == TYPE_SWPB) { do { temp8 = ldax8((u8 *) address); } while (stlx8((u8 *) address, (u8) data)); } while (stx8((u8 *) address, (u8) data)); regs->regs[destreg] = temp8; regs->pc += 4; swpb_count++; Loading