summaryrefslogtreecommitdiff
path: root/lib/idr.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2011-03-02 13:00:49 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-02 15:57:51 -0800
commit107c3f4d42adc9af393019b795dd2177fbe9e465 (patch)
tree547c9130536f19568e1b903e1bd2942933355179 /lib/idr.c
parent1707be1be18deb1deaecd768135290cffdeb0e8e (diff)
downloadkernel-common-107c3f4d42adc9af393019b795dd2177fbe9e465.tar.gz
kernel-common-107c3f4d42adc9af393019b795dd2177fbe9e465.tar.bz2
kernel-common-107c3f4d42adc9af393019b795dd2177fbe9e465.zip
cnic: Prevent status block race conditions with hardware
The status block index is used to acknowledge interrupt events and must be read before checking for the interrupt events, so we need to add rmb() to guarantee that. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions