powerpc/kgdb: Do not set kgdb_single_step on ppc
authorTiejun Chen <tiejun.chen@windriver.com>
Wed, 22 Aug 2012 16:10:18 +0000 (16:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 24 Aug 2012 10:26:05 +0000 (20:26 +1000)
commit572b411cb4f1b208bb8ea278752f956b3554371e
tree0c11aef932d0343b7bfcf14bb169cbad1fc06b99
parent46c5c59e6902855b61a31be1b8e26bfffcae1e07
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>
arch/powerpc/kernel/kgdb.c