Commit 4620b49f authored by Vegard Nossum's avatar Vegard Nossum Committed by Ingo Molnar

softirq: remove initialization of static per-cpu variable

Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9583f3d9
...@@ -359,10 +359,8 @@ struct tasklet_head ...@@ -359,10 +359,8 @@ struct tasklet_head
struct tasklet_struct **tail; struct tasklet_struct **tail;
}; };
/* Some compilers disobey section attribute on statics when not static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec);
initialized -- RR */ static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec);
static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec) = { NULL };
static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec) = { NULL };
void __tasklet_schedule(struct tasklet_struct *t) void __tasklet_schedule(struct tasklet_struct *t)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment