[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201010272029.22150.rusty@rustcorp.com.au>
Date: Wed, 27 Oct 2010 20:29:21 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] cpumask: remove obsolete cpu operation in x86/kernel/apb_timer.c
first_cpu -> cpumask_first
Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists