linux_5_0: restore __kernel_fpu_{begin,restore}

In 5.0er these function were removed from the public interface also zfs needs
them for AVX/AES-NI support. Without this patch for example throughput on a
encrypted zfs dataset drops to 200 MB/s from 1.2 GB/s. These functions were
removed as their was no user within the linux kernel tree itself.
This commit is contained in:
Jörg Thalheim
2019-05-06 14:14:40 +01:00
parent 7ca3dec610
commit 7b77c27caa
3 changed files with 66 additions and 0 deletions
@@ -57,4 +57,9 @@ rec {
sha256 = "1l8xq02rd7vakxg52xm9g4zng0ald866rpgm8kjlh88mwwyjkrwv";
};
};
export_kernel_fpu_functions = rec {
name = "export_kernel_fpu_functions";
patch = ./export_kernel_fpu_functions.patch;
};
}