]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc: kill the obsolete code under is_global_init()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Nov 2009 15:13:15 +0000 (15:13 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Nov 2009 06:00:22 +0000 (17:00 +1100)
commita0592d42fe3e12966db02f5c41f1edae2e59c490
treebbbdfba5cecb5a8a15f7123febb08b561ea753f6
parent3aa565f53c396914a9406388efaa238e9c937fc6
powerpc: kill the obsolete code under is_global_init()

The code under "if (is_global_init())" is bogus, and is_global_init()
itself is not right in mt case.

Contrary to what the comment says, nowadays force_sig_info() does kill
init even if the handler is SIG_DFL. Note that force_sig_info() clears
SIGNAL_UNKILLABLE exactly for this case.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/traps.c