drm/modes: Fix drm_mode_vrefres() docs
[drm/drm-misc.git] / rust / helpers / mutex.c
blob7e00680958ef101f6cfda1026a8a75ae1fdea972
1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/mutex.h>
5 void rust_helper_mutex_lock(struct mutex *lock)
7 mutex_lock(lock);
10 void rust_helper___mutex_init(struct mutex *mutex, const char *name,
11 struct lock_class_key *key)
13 __mutex_init(mutex, name, key);