source: GPL/trunk/include/linux/mutex.h@ 522

Last change on this file since 522 was 76, checked in by vladest, 19 years ago

Latest ALSA patches
HDA patches
Patch for Intel from Rudy's
Fixes locks on NM256 chipsets
Fixes PM on Maestro3 chipsets

File size: 347 bytes
Line 
1#ifndef __LINUX_MUTEX_H
2#define __LINUX_MUTEX_H
3
4#include <asm/semaphore.h>
5
6#define mutex semaphore
7#define DEFINE_MUTEX(x) DECLARE_MUTEX(x)
8#define mutex_init(x) init_MUTEX(x)
9#define mutex_destroy(x)
10#define mutex_lock(x) down(x)
11#define mutex_lock_interruptible(x) down_interruptible(x)
12#define mutex_unlock(x) up(x)
13
14#endif
Note: See TracBrowser for help on using the repository browser.