diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-07-13 14:33:39 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-07-13 14:33:39 +0000 |
commit | e3cba8b969a74e002bf54b6924d99d8da6b6d14d (patch) | |
tree | 6972aca9cb150744f2194edb8c570440d080c96e /include | |
parent | bc6a20623be3c67bf33f8f3f4f27475824968d08 (diff) |
wctc4xxp: Remove deprecated DMA_xxBIT_MASK usage.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6838 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 029a9d5..cee9229 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -1167,4 +1167,8 @@ static inline short dahdi_txtone_nextsample(struct dahdi_chan *ss) #define kzalloc(a, b) kcalloc(1, a, b) #endif +#ifndef DMA_BIT_MASK +#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) +#endif + #endif /* _DAHDI_KERNEL_H */ |