diff options
author | Takashi Ohmasa <ohmasa.takashi@com.rmk.(none)> | 2006-10-23 06:19:40 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-10-28 05:15:31 -0400 |
commit | e0f205d9c656da9dad6340f75e33a96014b7d23f (patch) | |
tree | ecc28c7cf3eb89e095b6a89f68e1c6517f26d1b9 /arch | |
parent | e816d71a50a714b532e3965364f3f53c23a53d42 (diff) |
[ARM] 3900/1: Fix VFP Division by Zero exception handling.
The SIGFPE signal should be generated if Division by Zero exception is detected.
Signed-off-by: Takashi Ohmasa <ohmasa.takashi@jp.panasonic.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/vfp/vfpmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index a657a28f08db..f08eafbddcc1 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c | |||
@@ -148,6 +148,7 @@ static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_ | |||
148 | /* | 148 | /* |
149 | * These are arranged in priority order, least to highest. | 149 | * These are arranged in priority order, least to highest. |
150 | */ | 150 | */ |
151 | RAISE(FPSCR_DZC, FPSCR_DZE, FPE_FLTDIV); | ||
151 | RAISE(FPSCR_IXC, FPSCR_IXE, FPE_FLTRES); | 152 | RAISE(FPSCR_IXC, FPSCR_IXE, FPE_FLTRES); |
152 | RAISE(FPSCR_UFC, FPSCR_UFE, FPE_FLTUND); | 153 | RAISE(FPSCR_UFC, FPSCR_UFE, FPE_FLTUND); |
153 | RAISE(FPSCR_OFC, FPSCR_OFE, FPE_FLTOVF); | 154 | RAISE(FPSCR_OFC, FPSCR_OFE, FPE_FLTOVF); |