]> 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, 16 Nov 2007 16:22:56 +0000 (08:22 -0800)
commit1d841b4fa6fa8d846925939bde04a9faf85fb18e
tree83a0df9c9fd5b4504cec9bbec4e9a410ec3f5c4b
parent2f51141bab7ae812f99da94d260036dbec4f7b18
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