Skip to contentSkip to conversation

cpumask: remove obsolete cpu operation in x86/kernel/apb_timer.c

PATCH New Rusty Russell 1 participant 1 message Oct 27, 2010 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpumask: remove obsolete cpu operation in x86/kernel/apb_timer.c

first_cpu -> cpumask_first

---
 arch/x86/kernel/apb_timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/apb_timer.c +1 -1
@@ -431,7 +431,7 @@ static void apbt_set_mode(enum clock_eve
 
 	timer_num = adev->num;
 	pr_debug("%s CPU %d timer %d mode=%d\n",
-		 __func__, first_cpu(*evt->cpumask), timer_num, mode);
+		 __func__, cpumask_first(evt->cpumask), timer_num, mode);
 
 	switch (mode) {
 	case CLOCK_EVT_MODE_PERIODIC: