From: Paul Mackerras Date: Mon, 14 Nov 2005 10:55:15 +0000 (+1100) Subject: powerpc: Fix clearing of the FPSCR when invoking a signal handler X-Git-Tag: v2.6.15-rc2~96^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc657f53928997c65bf2409c45166c6ceee8d306;p=pandora-kernel.git powerpc: Fix clearing of the FPSCR when invoking a signal handler As pointed out by Gary Byers, we were clearing the image of the FPSCR (floating point status and control register) in the thread_struct before copying it to the user stack when invoking a signal. Thus the task would see its FPSCR getting cleared when it took a signal. While fixing it I noticed that our swapcontext system call was also clearing FPSCR. It shouldn't, so I fixed that too. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed