]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Call __show_regs directly
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 9 May 2017 01:53:36 +0000 (09:53 +0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 30 May 2017 10:07:41 +0000 (11:07 +0100)
commit6fdf0d06ae58e65454673744020e05925c8fbdf5
treeac89f6c96b304d3cb1076c906bc8350db96764b2
parent4a9710c61a98d3dea2cbf181e43e302e8631a07e
arm64: Call __show_regs directly

Generic code expects show_regs() to also dump the stack, but arm64's
show_reg() does not do this. Some arm64 callers of show_regs() *only*
want the registers dumped, without the stack.

To enable generic code to work as expected, we need to make
show_regs() dump the stack. Where we only want the registers dumped,
we must use __show_regs().

This patch updates code to use __show_regs() where only registers are
desired. A subsequent patch will modify show_regs().

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/probes/kprobes.c
arch/arm64/mm/fault.c