summaryrefslogtreecommitdiffstats
path: root/gentoox-patches/zfs-ungpl-rcu_read_unlock-export.diff
diff options
context:
space:
mode:
authorroot <root@gocchin.haxx.dafuq>2021-03-16 22:01:59 -0500
committerKyle K <kylek389@gmail.com>2021-03-16 22:09:49 -0500
commit986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda (patch)
treed1add03ffd4975491d9dbc62fc499eff9ed3fa9d /gentoox-patches/zfs-ungpl-rcu_read_unlock-export.diff
parent21b8054990354fa7e5f80bc6d68b6423f7571184 (diff)
downloadgentoox-986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda.tar.gz
gentoox-986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda.tar.bz2
gentoox-986cb5df0857ec3004ebdeff0bb64e3c7cfb2cda.zip
cleanup patches in the repo
Diffstat (limited to 'gentoox-patches/zfs-ungpl-rcu_read_unlock-export.diff')
-rw-r--r--gentoox-patches/zfs-ungpl-rcu_read_unlock-export.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/gentoox-patches/zfs-ungpl-rcu_read_unlock-export.diff b/gentoox-patches/zfs-ungpl-rcu_read_unlock-export.diff
new file mode 100644
index 0000000..c31a103
--- /dev/null
+++ b/gentoox-patches/zfs-ungpl-rcu_read_unlock-export.diff
@@ -0,0 +1,22 @@
+diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
+index fa08d55f7040c0aa6a9976b328cb8c49195824d6..360428642c9bd34670683eb587110baf2ef24bd2 100644
+--- a/kernel/rcu/tree_plugin.h
++++ b/kernel/rcu/tree_plugin.h
+@@ -360,7 +360,7 @@ void __rcu_read_lock(void)
+ WARN_ON_ONCE(current->rcu_read_lock_nesting > RCU_NEST_PMAX);
+ barrier(); /* critical section after entry code. */
+ }
+-EXPORT_SYMBOL_GPL(__rcu_read_lock);
++EXPORT_SYMBOL(__rcu_read_lock);
+
+ /*
+ * Preemptible RCU implementation for rcu_read_unlock().
+@@ -390,7 +390,7 @@ void __rcu_read_unlock(void)
+ WARN_ON_ONCE(rrln < 0 && rrln > RCU_NEST_NMAX);
+ }
+ }
+-EXPORT_SYMBOL_GPL(__rcu_read_unlock);
++EXPORT_SYMBOL(__rcu_read_unlock);
+
+ /*
+ * Advance a ->blkd_tasks-list pointer to the next entry, instead