powerpc: Fix VMX in interrupt check in POWER7 copy loops
authorAnton Blanchard <anton@samba.org>
Tue, 7 Aug 2012 17:51:41 +0000 (17:51 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 24 Aug 2012 10:26:09 +0000 (20:26 +1000)
commit2fae7cdb60240e2e2d9b378afbf6d9fcce8a3890
treeb866b45dcd53a21646ab1bc10148988c158b21f9
parentdad477ccd65f05bf3b5a874e0118bf4156a1fcbb
powerpc: Fix VMX in interrupt check in POWER7 copy loops

The enhanced prefetch hint patches corrupt the condition register
that was used to check if we are in interrupt. Fix this by using cr1.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/lib/copyuser_power7.S
arch/powerpc/lib/memcpy_power7.S