mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
locking/mutex: Rename mutex_init_lockep()
Typo, this wants to be _lockdep().
Fixes: 51d7a05452 ("locking/mutex: Redo __mutex_init() to reduce generated code size")
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260217191512.1180151-2-dave@stgolabs.net
This commit is contained in:
committed by
Peter Zijlstra
parent
6de23f81a5
commit
8b65eb52d9
@@ -171,7 +171,7 @@ static __always_inline bool __mutex_unlock_fast(struct mutex *lock)
|
||||
|
||||
#else /* !CONFIG_DEBUG_LOCK_ALLOC */
|
||||
|
||||
void mutex_init_lockep(struct mutex *lock, const char *name, struct lock_class_key *key)
|
||||
void mutex_init_lockdep(struct mutex *lock, const char *name, struct lock_class_key *key)
|
||||
{
|
||||
__mutex_init_generic(lock);
|
||||
|
||||
@@ -181,7 +181,7 @@ void mutex_init_lockep(struct mutex *lock, const char *name, struct lock_class_k
|
||||
debug_check_no_locks_freed((void *)lock, sizeof(*lock));
|
||||
lockdep_init_map_wait(&lock->dep_map, name, key, 0, LD_WAIT_SLEEP);
|
||||
}
|
||||
EXPORT_SYMBOL(mutex_init_lockep);
|
||||
EXPORT_SYMBOL(mutex_init_lockdep);
|
||||
#endif /* !CONFIG_DEBUG_LOCK_ALLOC */
|
||||
|
||||
static inline void __mutex_set_flag(struct mutex *lock, unsigned long flag)
|
||||
|
||||
Reference in New Issue
Block a user