[PATCH] powerpc: fix altivec_unavailable_exception Oopses
authorAlan Curry <pacman@TheWorld.com>
Wed, 22 Feb 2006 06:42:37 +0000 (01:42 -0500)
committerPaul Mackerras <paulus@samba.org>
Fri, 24 Feb 2006 00:36:23 +0000 (11:36 +1100)
altivec_unavailable_exception is called without setting r3... it looks like
the r3 that actually gets passed in as struct pt_regs *regs is the
undisturbed value of r3 at the time the altivec instruction was encountered.
The user actually gets to choose the pt_regs printed in the Oops!

This fixes the oops by passing the correct pt_regs pointer to
altivec_unavailable_exception.

Signed-off-by: Alan Curry <pacman@TheWorld.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found