|
@@ -82,6 +82,7 @@ struct tvec_base {
|
|
unsigned long next_timer;
|
|
unsigned long next_timer;
|
|
unsigned long active_timers;
|
|
unsigned long active_timers;
|
|
unsigned long all_timers;
|
|
unsigned long all_timers;
|
|
|
|
+ int cpu;
|
|
struct tvec_root tv1;
|
|
struct tvec_root tv1;
|
|
struct tvec tv2;
|
|
struct tvec tv2;
|
|
struct tvec tv3;
|
|
struct tvec tv3;
|
|
@@ -1568,6 +1569,7 @@ static int init_timers_cpu(int cpu)
|
|
}
|
|
}
|
|
spin_lock_init(&base->lock);
|
|
spin_lock_init(&base->lock);
|
|
tvec_base_done[cpu] = 1;
|
|
tvec_base_done[cpu] = 1;
|
|
|
|
+ base->cpu = cpu;
|
|
} else {
|
|
} else {
|
|
base = per_cpu(tvec_bases, cpu);
|
|
base = per_cpu(tvec_bases, cpu);
|
|
}
|
|
}
|