diff options
author | root <root@gocchin.haxx.dafuq> | 2021-03-16 22:01:59 -0500 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2021-03-16 22:09:49 -0500 |
commit | 986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda (patch) | |
tree | d1add03ffd4975491d9dbc62fc499eff9ed3fa9d /gentoox-patches/0011-ZFS-fix.patch | |
parent | 21b8054990354fa7e5f80bc6d68b6423f7571184 (diff) | |
download | gentoox-986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda.tar.gz gentoox-986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda.tar.bz2 gentoox-986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda.zip |
cleanup patches in the repo
Diffstat (limited to 'gentoox-patches/0011-ZFS-fix.patch')
-rw-r--r-- | gentoox-patches/0011-ZFS-fix.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gentoox-patches/0011-ZFS-fix.patch b/gentoox-patches/0011-ZFS-fix.patch new file mode 100644 index 0000000..af71d04 --- /dev/null +++ b/gentoox-patches/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 + + |