|
@@ -1254,14 +1254,13 @@ void hrtimer_run_queues(void)
|
|
if (!base->first)
|
|
if (!base->first)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
- if (gettime) {
|
|
|
|
|
|
+ if (base->get_softirq_time)
|
|
|
|
+ base->softirq_time = base->get_softirq_time();
|
|
|
|
+ else if (gettime) {
|
|
hrtimer_get_softirq_time(cpu_base);
|
|
hrtimer_get_softirq_time(cpu_base);
|
|
gettime = 0;
|
|
gettime = 0;
|
|
}
|
|
}
|
|
|
|
|
|
- if (base->get_softirq_time)
|
|
|
|
- base->softirq_time = base->get_softirq_time();
|
|
|
|
-
|
|
|
|
spin_lock(&cpu_base->lock);
|
|
spin_lock(&cpu_base->lock);
|
|
|
|
|
|
while ((node = base->first)) {
|
|
while ((node = base->first)) {
|