aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/kernel/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/kernel/kgdb.c')
-rw-r--r--arch/mn10300/kernel/kgdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mn10300/kernel/kgdb.c b/arch/mn10300/kernel/kgdb.c
index f6c981db2a36..99770823451a 100644
--- a/arch/mn10300/kernel/kgdb.c
+++ b/arch/mn10300/kernel/kgdb.c
@@ -397,7 +397,7 @@ static bool kgdb_arch_undo_singlestep(struct pt_regs *regs)
397 * single-step state is cleared. At this point the breakpoints should have 397 * single-step state is cleared. At this point the breakpoints should have
398 * been removed by __switch_to(). 398 * been removed by __switch_to().
399 */ 399 */
400void free_thread_info(struct thread_info *ti) 400void arch_release_thread_info(struct thread_info *ti)
401{ 401{
402 if (kgdb_sstep_thread == ti) { 402 if (kgdb_sstep_thread == ti) {
403 kgdb_sstep_thread = NULL; 403 kgdb_sstep_thread = NULL;
@@ -407,7 +407,6 @@ void free_thread_info(struct thread_info *ti)
407 * so force immediate reentry */ 407 * so force immediate reentry */
408 kgdb_breakpoint(); 408 kgdb_breakpoint();
409 } 409 }
410 kfree(ti);
411} 410}
412 411
413/* 412/*