arm64/kprobes: consistently handle MRS/MSR with XZR
authorMark Rutland <mark.rutland@arm.com>
Thu, 9 Feb 2017 15:19:21 +0000 (15:19 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 15 Feb 2017 12:20:29 +0000 (12:20 +0000)
commitffe7afd1713558d73483834c2e2d03a1e39a4062
tree069438af466fa596cf4d785a3004ee42cc04daac
parent521c646108ed199d19c5c73978aaca3e18ca8f81
arm64/kprobes: consistently handle MRS/MSR with XZR

Now that we have XZR-safe helpers for fiddling with registers, use these
in the arm64 kprobes code rather than open-coding the logic.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/probes/simulate-insn.c