Files
BPI-CM9-Linux/aml-comp/kernel/aml-6.12/rust/helpers/mutex.c
T

16 lines
332 B
C
Raw Normal View History

2026-08-13 11:28:40 +08:00
// SPDX-License-Identifier: GPL-2.0
#include <linux/export.h>
#include <linux/mutex.h>
__rust_helper void rust_helper_mutex_lock(struct mutex *lock)
{
mutex_lock(lock);
}
__rust_helper void rust_helper___mutex_init(struct mutex *mutex, const char *name,
struct lock_class_key *key)
{
__mutex_init(mutex, name, key);
}