Преглед на файлове

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>
Vegard Nossum преди 17 години
родител
ревизия
4620b49f76
променени са 1 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 2 4
      kernel/softirq.c

+ 2 - 4
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)
 {