diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-08 18:45:45 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-18 14:04:35 -0800 |
commit | 49e6aacefc4ba11f7515391659a6e2f316a6e1ae (patch) | |
tree | fef0f9d79644e9cf97a15058ac99f7286b4058f8 /arch/powerpc/kvm/timing.c | |
parent | 6b3f68aeeae30d18186a844c92bf3269e3226f51 (diff) |
powerpc: Fix usage of 64-bit instruction in 32-bit altivec code
commit e090aa80321b64c3b793f3b047e31ecf1af9538d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/timing.c')
0 files changed, 0 insertions, 0 deletions