diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-04-04 16:25:47 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-04-04 16:25:47 +0000 |
commit | 51a950487273c29bd1836c71661a0318afea2655 (patch) | |
tree | af9f29b6a8dfd39a7110f1f230053797c63d310c /drivers/dahdi/voicebus/voicebus.h | |
parent | 1b6c976e2fbad054955b3f1e9aa57414d5f7dab0 (diff) |
wcte12xp, wctdm24xxp: decriptor_list.count does not need to be atomic.
It is only ever accessed in interrupt context anyway. Saves several
hundred nanoseconds from hard interrupt context.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Michael Spiceland <mspiceland@digium.com>
Acked-by: Kinsey Moore <kmoore@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9888 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/voicebus/voicebus.h')
-rw-r--r-- | drivers/dahdi/voicebus/voicebus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/voicebus/voicebus.h b/drivers/dahdi/voicebus/voicebus.h index 764a99b..dd0809f 100644 --- a/drivers/dahdi/voicebus/voicebus.h +++ b/drivers/dahdi/voicebus/voicebus.h @@ -100,7 +100,7 @@ struct voicebus_descriptor_list { unsigned int tail; void *pending[DRING_SIZE]; dma_addr_t desc_dma; - atomic_t count; + unsigned long count; unsigned int padding; }; |