summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/patches.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-06-16 10:49:03 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-06-16 10:49:03 +0000
commit3874e5812d6cf07b6ee778c3f58df73b913bae93 (patch)
tree2d445bca9d35f58b5d02365fe166c9b2fb94d2d0 /pkgs/os-specific/linux/kernel/patches.nix
parent404c21de2fa7ec36e92504f36a3dce95f8114704 (diff)
downloadnixpkgs-3874e5812d6cf07b6ee778c3f58df73b913bae93.tar
nixpkgs-3874e5812d6cf07b6ee778c3f58df73b913bae93.tar.gz
nixpkgs-3874e5812d6cf07b6ee778c3f58df73b913bae93.tar.bz2
nixpkgs-3874e5812d6cf07b6ee778c3f58df73b913bae93.tar.lz
nixpkgs-3874e5812d6cf07b6ee778c3f58df73b913bae93.tar.xz
nixpkgs-3874e5812d6cf07b6ee778c3f58df73b913bae93.tar.zst
nixpkgs-3874e5812d6cf07b6ee778c3f58df73b913bae93.zip
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
Diffstat (limited to 'pkgs/os-specific/linux/kernel/patches.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/patches.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix
index 7aefc7c5c0f..4ac33380398 100644
--- a/pkgs/os-specific/linux/kernel/patches.nix
+++ b/pkgs/os-specific/linux/kernel/patches.nix
@@ -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>.