diff options
| author | Zoltan Menyhart <[email protected]> | 2006-01-13 16:25:23 +0000 |
|---|---|---|
| committer | Tony Luck <[email protected]> | 2006-01-17 22:04:00 +0000 |
| commit | 4b16bfbf8f8013fefb49592d030ff87651ab48cb (patch) | |
| tree | ce9150f8ceac6150261f5bc69afdf9d2e95def19 /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | [IA64] Zonelists for nodes without cpus (diff) | |
| download | kernel-4b16bfbf8f8013fefb49592d030ff87651ab48cb.tar.gz kernel-4b16bfbf8f8013fefb49592d030ff87651ab48cb.zip | |
[IA64] Fix bug in ia64 specific down() function
Chen, Kenneth W wrote:
> The memory order semantics for include/asm-ia64/semaphore.h:down()
> doesn't look right. It is using atomic_dec_return, which eventually
> translate into ia64_fetch_and_add() that uses release semantics.
> Shouldn't it use acquire semantics?
Use ia64_fetchadd() instead of atomic_dec_return()
Acked-by: Ken Chen <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions
