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:07:52 +0000 (08:07 +0100)
commitcadaba838f1bfe74ea4ab21bb675f56a32e4efca
tree6c104337f6a207abd4921389a0073956ed90f55b
parent8a2bcaae1bc7a33d51d668d0661e0636a4aa7bc8
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