• Paul Mackerras's avatar
    powerpc: Fix bug causing FP registers corruption on UP + preempt · 48abec07
    Paul Mackerras authored
    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: default avatarPaul Mackerras <paulus@samba.org>
    48abec07
process.c 21.9 KB