Since I’m a simple man and I have no effing clue how to fix this and I have my own kernel, I’ve simply patched it so that I could compile the NVIDIA driver:
diff --git a/linux-6.7/kernel/rcu/tree_plugin.h b/linux-6.7-nvidia-550.40.07/kernel/rcu/tree_plugin.h
index 4102108..72474d8 100644
--- a/linux-6.7/kernel/rcu/tree_plugin.h
+++ b/linux-6.7-nvidia-550.40.07/kernel/rcu/tree_plugin.h
@@ -406,7 +406,7 @@ void __rcu_read_lock(void)
WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
barrier(); /* critical section after entry code. */
}
-EXPORT_SYMBOL_GPL(__rcu_read_lock);
+EXPORT_SYMBOL(__rcu_read_lock);
/*
* Preemptible RCU implementation for rcu_read_unlock().
@@ -431,7 +431,7 @@ void __rcu_read_unlock(void)
WARN_ON_ONCE(rrln < 0 || rrln > RCU_NEST_PMAX);
}
}
-EXPORT_SYMBOL_GPL(__rcu_read_unlock);
+EXPORT_SYMBOL(__rcu_read_unlock);
/*
* Advance a ->blkd_tasks-list pointer to the next entry, instead
The previous stable NVIDIA driver produces a metric ton of errors during compilation. Am I the only person running Linux 6.7? It’s been out for almost a month now. Doesn’t seem likely.