softirq: remove initialization of static per-cpu variable
authorVegard Nossum <vegard.nossum@gmail.com>
Thu, 12 Jun 2008 21:21:53 +0000 (23:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 18 Jun 2008 12:30:43 +0000 (14:30 +0200)
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/softirq.c

index 059256874e9bcc32abd852e0c9a3c90b016672b0..86775340ef1d65c6bff7be8b5f88198477a2dcf1 100644 (file)
@@ -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)
 {