powerpc/ps3: Fix system hang with GCC 5 builds
authorGeoff Levand <geoff@infradead.org>
Tue, 29 Nov 2016 18:47:32 +0000 (10:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:22:02 +0000 (08:22 +0100)
commit3a4e4281b5cdd032a44595a83b25d8773f626ddf
tree6225b0a62263e365a08b695f7f07102a2eeb9ec6
parente451d674bac550e2f311fe18abe36345f826470a
powerpc/ps3: Fix system hang with GCC 5 builds

commit 6dff5b67054e17c91bd630bcdda17cfca5aa4215 upstream.

GCC 5 generates different code for this bootwrapper null check that
causes the PS3 to hang very early in its bootup. This check is of
limited value, so just get rid of it.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/boot/ps3-head.S
arch/powerpc/boot/ps3.c