ppc: Use a helper to generate "LE unsupported" alignment interrupts
commit65f2475f1f3b46086dfeef9ba882ea3d9d909d57
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 27 Jul 2016 06:56:47 +0000 (27 16:56 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Sep 2016 02:40:11 +0000 (7 12:40 +1000)
tree8930396ad134c6568ddf52b923b79095c3790162
parent5f2a6254522bd4cfb917822f678b117e6f005664
ppc: Use a helper to generate "LE unsupported" alignment interrupts

Some operations aren't allowed in LE mode, use a helper rather than
open coding the exception generation.

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