powerpc: Emulation support for load/store instructions on LE
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Tue, 14 Feb 2017 09:16:42 +0000 (14:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Mar 2017 11:14:30 +0000 (19:14 +0800)
commitbc8d2eefe63f6f0f4592ab735d4c95c58956dcf9
treec934529d90f95cbaf89d38dfa47502418ab1816c
parentac4666a7fd1aab0b4e60240ab84f9fd839900669
powerpc: Emulation support for load/store instructions on LE

commit e148bd17f48bd17fca2f4f089ec879fa6e47e34c upstream.

emulate_step() uses a number of underlying kernel functions that were
initially not enabled for LE. This has been rectified since. So, fix
emulate_step() for LE for the corresponding instructions.

Reported-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/lib/sstep.c