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:32:25 +0000 (08:32 +0100)
commitefcb3d9442fffe6dd4d12a8c70fe9e6a5423c4df
treedea86c5dce92a8f3374c0d2f1beb12c3db18a683
parent4b23132d6cf56607626760458ff18d3a30a88bd9
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