• P
    powerpc: Fix bug causing FP registers corruption on UP + preempt · 48abec07
    Paul Mackerras 提交于
    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: NPaul Mackerras <paulus@samba.org>
    48abec07
process.c 21.9 KB