Adding two kernel patches for mips, that make the life easier on loongson2f

(less sigill, less sigbus). Related to bad handling of FPU instructions.

I apply them only to linux 3.4, although I think they can apply to many older kernels too.


svn path=/nixpkgs/trunk/; revision=34522
This commit is contained in:
Lluís Batlle i Rossell
2012-06-16 10:49:03 +00:00
parent 404c21de2f
commit 3874e5812d
4 changed files with 265 additions and 0 deletions
+10
View File
@@ -353,6 +353,16 @@ rec {
patch = ./mips_restart.patch;
};
mips_fpureg_emu =
{ name = "mips-fpureg-emulation";
patch = ./mips-fpureg-emulation.patch;
};
mips_fpu_sigill =
{ name = "mips-fpu-sigill";
patch = ./mips-fpu-sigill.patch;
};
guruplug_defconfig =
{ # Default configuration for the GuruPlug. From
# <http://www.openplug.org/plugwiki/images/c/c6/Guruplug-patchset-2.6.33.2.tar.bz2>.