]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Emulate instructions in little endian mode
authorAnton Blanchard <anton@samba.org>
Tue, 6 Aug 2013 16:01:47 +0000 (02:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 05:33:35 +0000 (15:33 +1000)
commit2acbb44a7448a2d964c3e77525df2b4e548acb5f
tree63f5861a108fae0a4c9a483cd88356cd99ffe3ec
parent1ac4efe550adabe9949e3221e4f2f141b6251046
powerpc: Emulate instructions in little endian mode

Alistair noticed we got a SIGILL on userspace mfpvr instructions.

Remove the little endian check in the emulation code, it is
probably there to protect against the old pseudo little endian
implementations but doesn't make sense for real little endian.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/traps.c