Displaying 1 result from an estimated 1 matches for "current_cpu".
Did you mean:
current_vcpu
2008 Jul 16
1
[PATCH] Adjust handle_hpet_broadcast to let it run better before broadcast exit
...expire(%"PRIx64") < "
- "now(%"PRIx64")\n", expire, now);
if ( !force )
return -ETIME;
}
@@ -142,12 +140,10 @@ static void handle_hpet_broadcast(struct
{
cpumask_t mask;
s_time_t now, next_event;
- int cpu, current_cpu = smp_processor_id();
+ int cpu;
spin_lock(&ch->lock);
- if ( cpu_isset(current_cpu, ch->cpumask) )
- printk(KERN_DEBUG "WARNING: current cpu%d in bc_mask\n",
current_cpu);
again:
ch->next_event = STIME_MAX;
next_event = STIME_MAX;
@@ -162,8 +...