^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Mutexes: blocking mutual exclusion locks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * started by Ingo Molnar:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * This file contains mutex debugging related internal prototypes, for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * !CONFIG_DEBUG_MUTEXES case. Most of them are NOPs:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define debug_mutex_wake_waiter(lock, waiter) do { } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define debug_mutex_free_waiter(waiter) do { } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define debug_mutex_add_waiter(lock, waiter, ti) do { } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define debug_mutex_remove_waiter(lock, waiter, ti) do { } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define debug_mutex_unlock(lock) do { } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define debug_mutex_init(lock, name, key) do { } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) static inline void
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) }