diff options
author | Matthias Kaehlcke <matthias.kaehlcke@gmail.com> | 2007-04-26 01:41:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 01:41:49 -0700 |
commit | bfbf3c0968498f5232c02965cf41695edae1bc4d (patch) | |
tree | 670a7b942e05325b2461f31695bc62028c9e8adc /drivers/atm/fore200e.h | |
parent | 74da9d88bf5ffd31aed61a0b19519684ad744ded (diff) | |
download | kernel_goldelico_gta04-bfbf3c0968498f5232c02965cf41695edae1bc4d.zip kernel_goldelico_gta04-bfbf3c0968498f5232c02965cf41695edae1bc4d.tar.gz kernel_goldelico_gta04-bfbf3c0968498f5232c02965cf41695edae1bc4d.tar.bz2 |
[ATM]: Use mutex instead of binary semaphore in FORE Systems 200E-series driver
(akpm: remove CVS control string too)
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/fore200e.h')
-rw-r--r-- | drivers/atm/fore200e.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/fore200e.h b/drivers/atm/fore200e.h index f9abfda..b85a546 100644 --- a/drivers/atm/fore200e.h +++ b/drivers/atm/fore200e.h @@ -869,7 +869,7 @@ typedef struct fore200e { struct stats* stats; /* last snapshot of the stats */ - struct semaphore rate_sf; /* protects rate reservation ops */ + struct mutex rate_mtx; /* protects rate reservation ops */ spinlock_t q_lock; /* protects queue ops */ #ifdef FORE200E_USE_TASKLET struct tasklet_struct tx_tasklet; /* performs tx interrupt work */ |