diff options
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.c')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index 59c5abe32f06..4fd8d6c1c3d2 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c | |||
@@ -224,9 +224,9 @@ static int get_slot(struct mtip_port *port) | |||
224 | */ | 224 | */ |
225 | static inline void release_slot(struct mtip_port *port, int tag) | 225 | static inline void release_slot(struct mtip_port *port, int tag) |
226 | { | 226 | { |
227 | smp_mb__before_clear_bit(); | 227 | smp_mb__before_atomic(); |
228 | clear_bit(tag, port->allocated); | 228 | clear_bit(tag, port->allocated); |
229 | smp_mb__after_clear_bit(); | 229 | smp_mb__after_atomic(); |
230 | } | 230 | } |
231 | 231 | ||
232 | /* | 232 | /* |