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

From: Rusty Russell
Date: Wed Oct 27 2010 - 05:59:31 EST


first_cpu -> cpumask_first

Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
---
arch/x86/kernel/apb_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/apb_timer.c b/arch/x86/kernel/apb_timer.c
--- a/arch/x86/kernel/apb_timer.c
+++ b/arch/x86/kernel/apb_timer.c
@@ -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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/