aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2008-06-12 17:21:53 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-18 08:30:43 -0400
commit4620b49f76096fa5183eecad7d689faa898a4c82 (patch)
tree872e0744a24a2c1c85920a425894bbb2dc1620a6
parent9583f3d9c00974911daf227cbaa12d6c1caaabad (diff)
softirq: remove initialization of static per-cpu variable
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/softirq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 059256874e9b..86775340ef1d 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -359,10 +359,8 @@ struct tasklet_head
359 struct tasklet_struct **tail; 359 struct tasklet_struct **tail;
360}; 360};
361 361
362/* Some compilers disobey section attribute on statics when not 362static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec);
363 initialized -- RR */ 363static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec);
364static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec) = { NULL };
365static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec) = { NULL };
366 364
367void __tasklet_schedule(struct tasklet_struct *t) 365void __tasklet_schedule(struct tasklet_struct *t)
368{ 366{