summaryrefslogtreecommitdiff
path: root/rust/helpers/sync.c
blob: ff7e68b4881011ce0aa9beb2df14bf0ffd147337 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: GPL-2.0

#include <linux/lockdep.h>

void rust_helper_lockdep_register_key(struct lock_class_key *k)
{
	lockdep_register_key(k);
}

void rust_helper_lockdep_unregister_key(struct lock_class_key *k)
{
	lockdep_unregister_key(k);
}