linux-rt_5_9: export symbols needed by zfs

Upstream issue: https://github.com/openzfs/zfs/issues/11097#issuecomment-740682245
This commit is contained in:
Orivej Desh
2020-12-10 10:34:44 +00:00
parent 1026c02f6d
commit 4376b91b40
3 changed files with 17 additions and 0 deletions
@@ -0,0 +1,11 @@
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);