]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 5909/1: ARM: Correct the FPSCR bits setting when raising exceptions
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Feb 2010 17:50:40 +0000 (18:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 1 Feb 2010 20:05:09 +0000 (20:05 +0000)
commit8f5517f88e20b6f7235ce51e0cf8eff4e3af7da8
treeeac1f57dd0baa9e2b262bae0c0d310ea66cae461
parentb87aec0f2cb4aab661bf7a7a6b8832a5d7f3aac5
ARM: 5909/1: ARM: Correct the FPSCR bits setting when raising exceptions

Commit 0098877343 removed the clearing of the FPSCR[31:28] bits from the
vfp_raise_exceptions() function and the new bits are or'ed with the old
FPSCR bits leading to unexpected results (the original commit was
referring to the cumulative bits - FPSCR[4:0]).

Reported-by: Tom Hameenanttila <tmhameen@marvell.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpmodule.c