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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Mar 2017 02:18:29 +0000 (02:18 +0000)
commit32e3b8842c579ddd6911a08b74dbca0c7f6597f8
tree313214cf943e886e276698ff904630a0b84492ad
parentf5b4c25651cd4e51791df895a7a439d9512a5bfa
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: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/boot/ps3-head.S
arch/powerpc/boot/ps3.c