diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2008-06-12 23:21:53 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-18 14:30:43 +0200 |
commit | 4620b49f76096fa5183eecad7d689faa898a4c82 (patch) | |
tree | 872e0744a24a2c1c85920a425894bbb2dc1620a6 /kernel/softirq.c | |
parent | 9583f3d9c00974911daf227cbaa12d6c1caaabad (diff) | |
download | op-kernel-dev-4620b49f76096fa5183eecad7d689faa898a4c82.zip op-kernel-dev-4620b49f76096fa5183eecad7d689faa898a4c82.tar.gz |
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>
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r-- | kernel/softirq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 0592568..8677534 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -359,10 +359,8 @@ struct tasklet_head struct tasklet_struct **tail; }; -/* Some compilers disobey section attribute on statics when not - initialized -- RR */ -static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec) = { NULL }; -static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec) = { NULL }; +static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec); +static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec); void __tasklet_schedule(struct tasklet_struct *t) { |