powerpc/64: Fix bug in setting floating-point exception mode
authorPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 02:55:30 +0000 (13:55 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 02:55:30 +0000 (13:55 +1100)
commite2f5a3c1bec1cf3e7c76c080fd7f21476f05008a
treefb4112db5b2528b6a04fc6be9665213abc004042
parent6cb6524d90b6e5497e79a1474bdb2f26755d1c02
powerpc/64: Fix bug in setting floating-point exception mode

When loading up the FPU, we were using a 'ld' (load doubleword)
instruction to get the FP exception mode from the thread_struct,
but it's only an int field.  This changes the ld to lwz (load
word and zero-extend).

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/fpu.S