rcu.c 217 B

12345678910111213
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <linux/rcupdate.h>
  3. __rust_helper void rust_helper_rcu_read_lock(void)
  4. {
  5. rcu_read_lock();
  6. }
  7. __rust_helper void rust_helper_rcu_read_unlock(void)
  8. {
  9. rcu_read_unlock();
  10. }