ppc: Don't update NIP if not taking alignment exceptions
commit573708e3292a501e7f86ab13878a2799a1ec73ab
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 27 Jul 2016 06:56:39 +0000 (27 16:56 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Sep 2016 02:40:10 +0000 (7 12:40 +1000)
treea8640a0a52f95810debc67f218044c94d833a990
parent72073dcce0ad1e84b866e45bc60ccf459aa9fcd4
ppc: Don't update NIP if not taking alignment exceptions

Move the NIP update to after the conditional branch so that we
don't do it if we aren't going to take the alignment exception

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/translate.c