state.c: softirqs cannot be pending more than once
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 May 2008 15:15:30 +0000 (15:15 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 May 2008 15:15:30 +0000 (15:15 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2933 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/state.c

index 3c73641de9aacb4030b7420dca25b40eca402da2..6fb3b2afd2d6450a9b8019e65e2ea5506f1737b8 100644 (file)
@@ -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;
 }
This page took 0.026071 seconds and 4 git commands to generate.