summaryrefslogtreecommitdiffstats
path: root/crypto/rng.c
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2011-08-05 18:59:41 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-08-09 15:52:06 -0400
commite8fe7336849e469978c9bbcc435903595912c4d3 (patch)
treebed38f150ef777fdaac6a8ff90b1cd7cd0fbe216 /crypto/rng.c
parenta844adfd7bee4edc66d337de6c33b348e83552a8 (diff)
downloadblackbird-op-linux-e8fe7336849e469978c9bbcc435903595912c4d3.tar.gz
blackbird-op-linux-e8fe7336849e469978c9bbcc435903595912c4d3.zip
ath9k: Use atomic reference count for interrupt ops
Let us enable/disable interrupts based on reference count. By doing this we can ensure that interrupts are never be enabled in the middle of tasklet processing. Instead of addressing corner cases like "ath9k: avoid enabling interrupts while processing rx", this approach handles it in generic manner. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud