Files
linux-legacy/arch/powerpc/kernel/vector.S
Benjamin Herrenschmidt 7c52c44362 powerpc: Fix usage of 64-bit instruction in 32-bit altivec code
commit e090aa80321b64c3b793f3b047e31ecf1af9538d upstream.

e821ea70f3 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>
2009-12-18 13:43:47 -08:00

8.5 KiB