summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/kernel/kgdb.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-06-27 11:20:46 +0200
committerIngo Molnar <mingo@kernel.org>2016-06-27 11:20:46 +0200
commit8114e90ea4deafc7c75c7b343225b485c21b6706 (patch)
tree046c9cd4967e2ea56eab9dcaf6ca6f601fa3deda /arch/mn10300/kernel/kgdb.c
parent9840b1ae45876bcca41b64007ac4a56a7cd14c73 (diff)
parent4c2e07c6a29e0129e975727b9f57eede813eea85 (diff)
downloadlinux-stable-8114e90ea4deafc7c75c7b343225b485c21b6706.tar.gz
linux-stable-8114e90ea4deafc7c75c7b343225b485c21b6706.tar.bz2
linux-stable-8114e90ea4deafc7c75c7b343225b485c21b6706.zip
Merge tag 'v4.7-rc5' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mn10300/kernel/kgdb.c')
-rw-r--r--arch/mn10300/kernel/kgdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mn10300/kernel/kgdb.c b/arch/mn10300/kernel/kgdb.c
index 99770823451a..2d7986c386fe 100644
--- a/arch/mn10300/kernel/kgdb.c
+++ b/arch/mn10300/kernel/kgdb.c
@@ -397,8 +397,9 @@ static bool kgdb_arch_undo_singlestep(struct pt_regs *regs)
* single-step state is cleared. At this point the breakpoints should have
* been removed by __switch_to().
*/
-void arch_release_thread_info(struct thread_info *ti)
+void arch_release_thread_stack(unsigned long *stack)
{
+ struct thread_info *ti = (void *)stack;
if (kgdb_sstep_thread == ti) {
kgdb_sstep_thread = NULL;