Commit e4086edc authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] softirq.c per_cpu fix

GCC3.1 apparently gets confused about uninitialized sections
parent c583dc59
...@@ -151,8 +151,10 @@ struct tasklet_head ...@@ -151,8 +151,10 @@ struct tasklet_head
struct tasklet_struct *list; struct tasklet_struct *list;
}; };
static struct tasklet_head tasklet_vec __per_cpu_data; /* Some compilers disobey section attribute on statics when not
static struct tasklet_head tasklet_hi_vec __per_cpu_data; initialized -- RR */
static struct tasklet_head tasklet_vec __per_cpu_data = { NULL };
static struct tasklet_head tasklet_hi_vec __per_cpu_data = { 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