summaryrefslogtreecommitdiffstats
path: root/0011-ZFS-fix.patch
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2020-11-22 16:42:39 -0600
committerKyle K <kylek389@gmail.com>2020-11-22 16:42:39 -0600
commitc0cd3e0973801945b7a7ca187eb039eb24fc28e6 (patch)
tree9f8d2c523070d12c5f25cf0b5ea56414f36c0926 /0011-ZFS-fix.patch
parent1eeca07af2dc454342ef39898ecedb185aa5acca (diff)
downloadgentoox-c0cd3e0973801945b7a7ca187eb039eb24fc28e6.tar.gz
gentoox-c0cd3e0973801945b7a7ca187eb039eb24fc28e6.tar.bz2
gentoox-c0cd3e0973801945b7a7ca187eb039eb24fc28e6.zip
Nov update, attempt to build kernel 5.9.10, rebase patches, add anbox, btrfs, and ntfs patches
Diffstat (limited to '0011-ZFS-fix.patch')
-rw-r--r--0011-ZFS-fix.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/0011-ZFS-fix.patch b/0011-ZFS-fix.patch
new file mode 100644
index 0000000..af71d04
--- /dev/null
+++ b/0011-ZFS-fix.patch
@@ -0,0 +1,43 @@
+From 1e010beda2896bdf3082fb37a3e49f8ce20e04d8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
+Date: Thu, 2 May 2019 05:28:08 +0100
+Subject: [PATCH] x86/fpu: Export kernel_fpu_{begin,end}() with
+ EXPORT_SYMBOL_GPL
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+We need these symbols in zfs as the fpu implementation breaks userspace:
+
+https://github.com/zfsonlinux/zfs/issues/9346
+Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
+---
+ arch/x86/kernel/fpu/core.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c
+index 12c70840980e..352538b3bb5d 100644
+--- a/arch/x86/kernel/fpu/core.c
++++ b/arch/x86/kernel/fpu/core.c
+@@ -102,7 +102,7 @@ void kernel_fpu_begin(void)
+ }
+ __cpu_invalidate_fpregs_state();
+ }
+-EXPORT_SYMBOL_GPL(kernel_fpu_begin);
++EXPORT_SYMBOL(kernel_fpu_begin);
+
+ void kernel_fpu_end(void)
+ {
+@@ -111,7 +111,7 @@ void kernel_fpu_end(void)
+ this_cpu_write(in_kernel_fpu, false);
+ preempt_enable();
+ }
+-EXPORT_SYMBOL_GPL(kernel_fpu_end);
++EXPORT_SYMBOL(kernel_fpu_end);
+
+ /*
+ * Save the FPU state (mark it for reload if necessary):
+--
+2.23.0
+
+