From: David S. Miller Date: Thu, 23 Oct 2008 05:09:59 +0000 (-0700) Subject: math-emu: Fix thinko in _FP_DIV X-Git-Tag: v2.6.28-rc1~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60b8267338aafde5315fc65ff385f3d4d75eccfe;p=pandora-kernel.git math-emu: Fix thinko in _FP_DIV In commit 48d6c64311ddb6417b901639530ccbc47bdc7635 ("math-emu: Add support for reporting exact invalid exception") code was added to set the new FP_EX_INVALID_{IDI,ZDZ} exception flag bits. However there is a missing break statement for the _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_INF) switch case, the code just falls into _FP_CLS_COMBINE(FP_CLS_ZERO,FP_CLS_ZERO) which then proceeds to overwrite all of the settings. Fix by adding the missing break. Signed-off-by: David S. Miller --- Reading git-diff-tree failed