]> git.karo-electronics.de Git - karo-tx-linux.git/commit
POWERPC: Fix handling of stfiwx math emulation
authorKumar Gala <galak@kernel.crashing.org>
Thu, 11 Oct 2007 22:07:34 +0000 (17:07 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 Nov 2007 15:44:15 +0000 (08:44 -0700)
commit02d29bbef2858caeac240a3d6291695717845c41
tree585300d7799760e50cf8ccf35886228c5eccdaa5
parent0a0225bae6d086e1ffa8a5aa3bf265ec83b57c34
POWERPC: Fix handling of stfiwx math emulation

patch ba02946a903015840ef672ccc9dc8620a7e83de6 in mainline

Its legal for the stfiwx instruction to have RA = 0 as part of its
effective address calculation.  This is illegal for all other XE
form instructions.

Add code to compute the proper effective address for stfiwx if
RA = 0 rather than treating it as illegal.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/math-emu/math.c