18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Mutexes: blocking mutual exclusion locks 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * started by Ingo Molnar: 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * This file contains mutex debugging related internal prototypes, for the 108c2ecf20Sopenharmony_ci * !CONFIG_DEBUG_MUTEXES case. Most of them are NOPs: 118c2ecf20Sopenharmony_ci */ 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define debug_mutex_wake_waiter(lock, waiter) do { } while (0) 148c2ecf20Sopenharmony_ci#define debug_mutex_free_waiter(waiter) do { } while (0) 158c2ecf20Sopenharmony_ci#define debug_mutex_add_waiter(lock, waiter, ti) do { } while (0) 168c2ecf20Sopenharmony_ci#define debug_mutex_remove_waiter(lock, waiter, ti) do { } while (0) 178c2ecf20Sopenharmony_ci#define debug_mutex_unlock(lock) do { } while (0) 188c2ecf20Sopenharmony_ci#define debug_mutex_init(lock, name, key) do { } while (0) 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_cistatic inline void 218c2ecf20Sopenharmony_cidebug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter) 228c2ecf20Sopenharmony_ci{ 238c2ecf20Sopenharmony_ci} 24