From: Aurelien Jarno Date: Wed, 5 Mar 2008 18:14:24 +0000 (+0100) Subject: x86: clear DF before calling signal handler X-Git-Tag: v2.6.25-rc5~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e40cd10ccff3d9fbffd57b93780bee4b7b9bff51;p=pandora-kernel.git x86: clear DF before calling signal handler The Linux kernel currently does not clear the direction flag before calling a signal handler, whereas the x86/x86-64 ABI requires that. Linux had this behavior/bug forever, but this becomes a real problem with gcc version 4.3, which assumes that the direction flag is correctly cleared at the entry of a function. This patches changes the setup_frame() functions to clear the direction before entering the signal handler. Signed-off-by: Aurelien Jarno Signed-off-by: Ingo Molnar Acked-by: H. Peter Anvin --- Reading git-diff-tree failed