Newer
Older
barebox / include / linux / mutex.h
@Sascha Hauer Sascha Hauer on 8 Oct 2018 508 bytes Add more mutex no-ops
/*
 * Mutexes: blocking mutual exclusion locks
 *
 * started by Ingo Molnar:
 *
 *  Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com>
 *
 * This file contains the main data structure and API definitions.
 */
#ifndef __LINUX_MUTEX_H
#define __LINUX_MUTEX_H

#define mutex_init(...)
#define mutex_lock(...)
#define mutex_unlock(...)
#define mutex_lock_nested(...)
#define mutex_unlock_nested(...)
#define mutex_is_locked(...)	0
struct mutex { int i; };

#endif /* __LINUX_MUTEX_H */