diff options
author | Tiejun Chen <tiejun.chen@windriver.com> | 2012-08-22 12:10:18 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-08-24 06:26:05 -0400 |
commit | 572b411cb4f1b208bb8ea278752f956b3554371e (patch) | |
tree | 0c11aef932d0343b7bfcf14bb169cbad1fc06b99 /arch/powerpc/kernel | |
parent | 46c5c59e6902855b61a31be1b8e26bfffcae1e07 (diff) |
powerpc/kgdb: Do not set kgdb_single_step on ppc
The kgdb_single_step flag has the possibility to indefinitely
hang the system on an SMP system.
The x86 arch have the same problem, and that problem was fixed by
commit 8097551d9ab9b9e3630(kgdb,x86: do not set kgdb_single_step
on x86). This patch does the same behaviors as x86's patch.
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/kgdb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index 782bd0a3c2f..bbabc5abb1c 100644 --- a/arch/powerpc/kernel/kgdb.c +++ b/arch/powerpc/kernel/kgdb.c | |||
@@ -410,7 +410,6 @@ int kgdb_arch_handle_exception(int vector, int signo, int err_code, | |||
410 | #else | 410 | #else |
411 | linux_regs->msr |= MSR_SE; | 411 | linux_regs->msr |= MSR_SE; |
412 | #endif | 412 | #endif |
413 | kgdb_single_step = 1; | ||
414 | atomic_set(&kgdb_cpu_doing_single_step, | 413 | atomic_set(&kgdb_cpu_doing_single_step, |
415 | raw_smp_processor_id()); | 414 | raw_smp_processor_id()); |
416 | } | 415 | } |