arm64: rename dump_instr as dump_kernel_instr
authorjinho lim <jordan.lim@samsung.com>
Wed, 26 Jun 2019 11:50:13 +0000 (20:50 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 26 Jun 2019 16:59:15 +0000 (17:59 +0100)
commit7b71665603bba0fa53e2cd63de9125a0bc3f6e17
tree1929e98d32bab54cb4b1de7a40238e423a83bbe1
parentd9db691d3cb5abdae59545b6b2e50f7e1cc81609
arm64: rename dump_instr as dump_kernel_instr

In traps.c, only __die calls dump_instr.
However, this function has sub-function as __dump_instr.

dump_kernel_instr can replace those functions.
By using aarch64_insn_read, it does not have to change fs to KERNEL_DS.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: jinho lim <jordan.lim@samsung.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/traps.c