summaryrefslogtreecommitdiff
path: root/rust/helpers/rcu.c
blob: f1cec6583513497e996f74835ca2c6c3f4a8c954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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();
}