From fc5000a1b014e55f5f9cb0b9f185f77e931b0dd0 Mon Sep 17 00:00:00 2001 From: pmf Date: Fri, 30 May 2008 15:15:30 +0000 Subject: [PATCH] state.c: softirqs cannot be pending more than once git-svn-id: http://ltt.polymtl.ca/svn@2933 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/state.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 3c73641d..6fb3b2af 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -2557,7 +2557,8 @@ static gboolean soft_irq_raise(void *hook_data, void *call_data) } /* update softirq status */ - ts->soft_irq_states[softirq].pending++; + /* a soft irq raises are not cumulative */ + ts->soft_irq_states[softirq].pending=1; return FALSE; } -- 2.34.1