diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-20 22:34:25 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:34:25 -0800 |
commit | e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f (patch) | |
tree | ffb5d63fffa0b235ed202fb55674b1da2e7cffa4 /drivers/net/sungem.h | |
parent | 758df69ee01f7be99c2df5562ef278bab05623dd (diff) | |
download | op-kernel-dev-e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f.zip op-kernel-dev-e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f.tar.gz |
[SUNGEM]: sem2mutex
Semaphore to mutexes conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem.h')
-rw-r--r-- | drivers/net/sungem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h index 13006d7..8984721 100644 --- a/drivers/net/sungem.h +++ b/drivers/net/sungem.h @@ -980,15 +980,15 @@ struct gem { int tx_new, tx_old; unsigned int has_wol : 1; /* chip supports wake-on-lan */ - unsigned int asleep : 1; /* chip asleep, protected by pm_sem */ + unsigned int asleep : 1; /* chip asleep, protected by pm_mutex */ unsigned int asleep_wol : 1; /* was asleep with WOL enabled */ - unsigned int opened : 1; /* driver opened, protected by pm_sem */ + unsigned int opened : 1; /* driver opened, protected by pm_mutex */ unsigned int running : 1; /* chip running, protected by lock */ /* cell enable count, protected by lock */ int cell_enabled; - struct semaphore pm_sem; + struct mutex pm_mutex; u32 msg_enable; u32 status; |