diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-01-03 18:26:34 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-01-03 18:26:34 +0000 |
commit | bd698c510843caf1e8d3644c0ac0ec5e6b407d67 (patch) | |
tree | 22982b06410a1057a6e03ae93a49ee47f6910bf4 /include | |
parent | e3f7107d6123cb3d096402fe68b8dd644bcd1f8b (diff) |
dahdi: Trivial move of sync_tick callback to inline function.
This is a trivial cleanup to primarily to remove the #ifdef test out of
process_masterspan.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Kinsey Moore <kmoore@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9586 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/kernel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 4c1452c..a1424c4 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -791,7 +791,8 @@ struct dahdi_span_ops { int (*maint)(struct dahdi_span *span, int mode); #ifdef DAHDI_SYNC_TICK - /*! Opt: send sync to spans */ + /*! Opt: send sync to spans. Called in hard_irq context with chan_lock + * held.*/ int (*sync_tick)(struct dahdi_span *span, int is_master); #endif /* ==== Channel Callback Operations ==== */ |