]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe
authorRichard Purdie <rpurdie@rpsys.net>
Wed, 3 Aug 2005 18:49:17 +0000 (19:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Aug 2005 18:49:17 +0000 (19:49 +0100)
commitf148af2593ef76ac705d1cc6abe48f455c9912cc
treecd1e0b0959624234ca3489df8888434ffea5050e
parent1fcf844861eb08ee05e05dba13b5436f2f2e29ed
[PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe

Patch from Richard Purdie

NWFPE used global variables which meant it wasn't safe for use with
preemptive kernels. This patch removes them and communicates the
information between functions in a preempt safe manner. Generation
of some exceptions was broken and this has also been corrected.
Tests with glibc's maths test suite show no change in the results
before/after this patch.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/nwfpe/double_cpdo.c
arch/arm/nwfpe/extended_cpdo.c
arch/arm/nwfpe/fpa11.c
arch/arm/nwfpe/fpa11.h
arch/arm/nwfpe/fpa11_cpdo.c
arch/arm/nwfpe/fpa11_cpdt.c
arch/arm/nwfpe/fpa11_cprt.c
arch/arm/nwfpe/fpmodule.c
arch/arm/nwfpe/single_cpdo.c
arch/arm/nwfpe/softfloat.c
arch/arm/nwfpe/softfloat.h