mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
12 lines
406 B
Diff
12 lines
406 B
Diff
Export linux-rt (PREEMPT_RT) specific symbols needed by ZFS.
|
|
(Regular kernel provides them static inline in linux/preempt.h.)
|
|
|
|
--- a/kernel/sched/core.c
|
|
+++ b/kernel/sched/core.c
|
|
@@ -1812 +1812 @@ void migrate_disable(void)
|
|
-EXPORT_SYMBOL_GPL(migrate_disable);
|
|
+EXPORT_SYMBOL(migrate_disable);
|
|
@@ -1843 +1843 @@ void migrate_enable(void)
|
|
-EXPORT_SYMBOL_GPL(migrate_enable);
|
|
+EXPORT_SYMBOL(migrate_enable);
|