Paul Mackerras 48abec07cf powerpc: Fix bug causing FP registers corruption on UP + preempt
This fixes a bug noticed by Paolo Galtieri and fixed for ARCH=ppc in
the previous commit (ppc: fix floating point register corruption).
This fixes the arch/powerpc code by adding preempt_disable/enable,
and also cleans it up a bit by pulling out the code that discards
any lazily-switched CPU register state into a new function, rather
than having that code repeated in three places.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-11-30 13:20:54 +11:00
..
2005-11-18 14:39:23 +11:00
2005-10-13 13:40:54 +10:00
2005-11-14 17:14:51 +11:00
2005-11-06 16:56:47 -08:00
2005-11-19 20:46:04 +11:00
2005-11-09 11:35:26 +11:00
2005-11-16 13:29:40 +11:00
2005-11-28 14:34:23 -08:00
2005-11-09 07:55:51 -08:00