002-gpu-nvidia-gpl.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --- a/kernel/rcu/tree_plugin.h
  2. +++ b/kernel/rcu/tree_plugin.h
  3. @@ -402,7 +402,7 @@
  4. WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
  5. barrier(); /* critical section after entry code. */
  6. }
  7. -EXPORT_SYMBOL_GPL(__rcu_read_lock);
  8. +EXPORT_SYMBOL(__rcu_read_lock); //nvidia_gpl
  9. /*
  10. * Preemptible RCU implementation for rcu_read_unlock().
  11. @@ -427,7 +427,7 @@
  12. WARN_ON_ONCE(rrln < 0 || rrln > RCU_NEST_PMAX);
  13. }
  14. }
  15. -EXPORT_SYMBOL_GPL(__rcu_read_unlock);
  16. +EXPORT_SYMBOL(__rcu_read_unlock); //nvidia_gpl
  17. /*
  18. * Advance a ->blkd_tasks-list pointer to the next entry, instead
  19. @@ -822,7 +822,7 @@
  20. rcu_report_qs_rdp(rdp);
  21. udelay(rcu_unlock_delay);
  22. }
  23. -EXPORT_SYMBOL_GPL(rcu_read_unlock_strict);
  24. +EXPORT_SYMBOL(rcu_read_unlock_strict); //nvidia_gpl
  25. /*
  26. * Tell them what RCU they are running.
  27. @@ -881,7 +881,7 @@
  28. rcu_qs();
  29. preempt_enable();
  30. }
  31. -EXPORT_SYMBOL_GPL(rcu_all_qs);
  32. +EXPORT_SYMBOL(rcu_all_qs); //nvidia_gpl
  33. /*
  34. * Note a PREEMPTION=n context switch. The caller must have disabled interrupts.
  35. @@ -900,7 +900,7 @@
  36. out:
  37. trace_rcu_utilization(TPS("End context switch"));
  38. }
  39. -EXPORT_SYMBOL_GPL(rcu_note_context_switch);
  40. +EXPORT_SYMBOL(rcu_note_context_switch); //nvidia_gpl
  41. /*
  42. * Because preemptible RCU does not exist, there are never any preempted