diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-30 13:20:54 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-30 13:20:54 +1100 |
commit | 48abec07cf8063184d397560a6a5f27eaf9caddf (patch) | |
tree | c96acc7a1176d1848d4c8c9f623f8ed39a1f63de /arch/um/drivers/random.c | |
parent | 8117ce76c28ef0cab8545b518fa0543f6d1437e6 (diff) |
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>
Diffstat (limited to 'arch/um/drivers/random.c')
0 files changed, 0 insertions, 0 deletions