softirq: remove initialization of static per-cpu variable
PATCH 1/1 softirq: remove initialization of static per-cpu variable
From: Vegard Nossum <[email protected]>
Date: Thu, 12 Jun 2008 22:10:36 +0200
Subject: [PATCH] softirq: remove initialization of static per-cpu variable
Cc Ingo Molnar <[email protected]>
Signed-off-by Vegard Nossum <[email protected]>
--- kernel/softirq.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
kernel/softirq.c +2 -4
@@ -360,10 +360,8 @@ struct tasklet_headstruct 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) {
Signature · 1 line
1.5.4.1
Ingo Molnar
AppliedQuoted 6 lines · Vegard Nossum
From: Vegard Nossum <[email protected]>
Date: Thu, 12 Jun 2008 22:10:36 +0200
Subject: [PATCH] softirq: remove initialization of static per-cpu variableCc Ingo Molnar <[email protected]>Signed-off-by Vegard Nossum <[email protected]>
applied to tip/core/softirq - thanks Vegard.
Ingo