From 4aea9102e00159077ff5df3c584159495880ea54 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 3 Jan 2011 18:26:34 +0000 Subject: 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 Acked-by: Kinsey Moore git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9586 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 ==== */ -- cgit v1.2.3