Linux-6.18.2/rust/helpers/rcu.c

14 lines
189 B
C
Raw Normal View History

2025-12-23 20:05:50 +08:00
// SPDX-License-Identifier: GPL-2.0
#include <linux/rcupdate.h>
void rust_helper_rcu_read_lock(void)
{
rcu_read_lock();
}
void rust_helper_rcu_read_unlock(void)
{
rcu_read_unlock();
}