]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: fatal trap should stop all cpus
authorDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 7 Jan 2015 00:31:39 +0000 (18:31 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 05:42:57 +0000 (21:42 -0800)
commit878a07e3815504bcdb9f0bfec36d49e7eebd59ac
treec24586962b38930c843bd6135fb71b64fdc812f2
parent60b0556d1f6fb546bf6a448737a33f77b415e30c
sparc64: fatal trap should stop all cpus

"echo c > /proc/sysrq-trigger" does not result in a system crash. There
are two problems. One is that the trap handler ignores the global
variable, panic_on_oops. The other is that smp_send_stop() is a no-op
which leaves the other cpus running normally when one cpu panics.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_64.c
arch/sparc/kernel/traps_64.c