]> Pileus Git - ~andy/linux/commit
[ARM] VFP: fix section mismatch error
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 10 Jun 2007 11:22:20 +0000 (12:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 10 Jun 2007 11:22:20 +0000 (12:22 +0100)
commit5d4cae5fe2ea1a0974962e2c49dca5c9c4b14cc0
tree4f041d48181445ef55b1fedea7853d4fb2ef8f31
parent845a2fdcbd5bc5b9f652201ee95c825827a1d521
[ARM] VFP: fix section mismatch error

Fix a real section mismatch issue; the test code is thrown away after
initialisation, but if we do not detect the VFP hardware, it is left
hooked into the exception handler.  Any VFP instructions which are
subsequently executed risk calling the discarded exception handler.

Introduce a new "null" handler which returns to the "unrecognised
fault" return address.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/entry.S
arch/arm/vfp/vfpmodule.c
include/asm-arm/linkage.h