aboutsummaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2017-06-15 09:46:39 +1000
committerMoyster <oysterized@gmail.com>2017-11-06 15:19:48 +0100
commitfc25378d37848c617980589b1d73eb8f66fa516b (patch)
treeff882424ed39501b2ca1379a5e6fdc4b7765e9ed /kernel/workqueue.c
parent85daf6ecf7e358c18179775f446bfd9539c5d549 (diff)
powerpc: Fix emulation of mfocrf in emulate_step()
commit 64e756c55aa46fc18fd53e8f3598b73b528d8637 upstream. From POWER4 onwards, mfocrf() only places the specified CR field into the destination GPR, and the rest of it is set to 0. The PowerPC AS from version 3.0 now requires this behaviour. The emulation code currently puts the entire CR into the destination GPR. Fix it. Fixes: 6888199f7fe5 ("[POWERPC] Emulate more instructions in software") Cc: stable@vger.kernel.org # v2.6.22+ Signed-off-by: Anton Blanchard <anton@samba.org> Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions