diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-01-26 19:44:36 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-01-26 19:44:36 +0000 |
commit | b19785437da38b006e18c54cfe03e3930f0ea19c (patch) | |
tree | a20affbdb276a90ffdba354caf4c65130589553a /include | |
parent | efc6334542ec679ce5c169b3fd0e3a6532ff53f9 (diff) |
Manipulate the REGISTERED flag with atomic bitops now since the bit is set
outside the protection of any locks.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5819 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 47139e5..0fccfea 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -523,7 +523,7 @@ struct dahdi_span { char location[40]; /*!< span device's location in system */ int deflaw; /*!< Default law (DAHDI_MULAW or DAHDI_ALAW) */ int alarms; /*!< Pending alarms on span */ - int flags; + unsigned long flags; int irq; /*!< IRQ for this span's hardware */ int lbo; /*!< Span Line-Buildout */ int lineconfig; /*!< Span line configuration */ |