commit | e090aa80321b64c3b793f3b047e31ecf1af9538d | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Dec 08 18:45:45 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Dec 09 18:10:12 2009 +1100 |
tree | 30ddd96363a873ae8203f42a063a4d2d1cd63d6b | |
parent | bcd6acd51f3d4d1ada201e9bc5c40a31d6d80c71 [diff] |
powerpc: Fix usage of 64-bit instruction in 32-bit altivec code e821ea70f3b4873b50056a1e0f74befed1014c09 introduced a bug by copying some 64-bit originated code as-is to be used by both 32 and 64-bit but this code contains a 64-bit ony "cmpdi" instruction. This changes it to cmpwi, which is fine since VRSAVE can only contains a 32-bit value anyway. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: <stable@kernel.org>