arm64/debug: Fix registers on sleeping tasks
authorDouglas Anderson <dianders@chromium.org>
Mon, 5 Mar 2018 23:43:09 +0000 (15:43 -0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 6 Mar 2018 18:52:34 +0000 (18:52 +0000)
commit24153c03d4f5dc4ac0ccd446a9636c269c1d4a02
tree36b1284637808397c4893db575e42092dfd55eb8
parent1212f7a16af492d59304ba3abccbcc5b5e41423e
arm64/debug: Fix registers on sleeping tasks

This is the equivalent of commit 001bf455d206 ("ARM: 8428/1: kgdb: Fix
registers on sleeping tasks") but for arm64.  Nuff said.

...well, perhaps I could also add that task_pt_regs are userspace
registers and that's not what kgdb is supposed to be reporting.  We're
supposed to be reporting kernel registers.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/kgdb.c