* [PATCH] cpumask: remove obsolete cpu operation in x86/kernel/apb_timer.c
@ 2010-10-27 9:59 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2010-10-27 9:59 UTC (permalink / raw)
To: x86; +Cc: linux-kernel
first_cpu -> cpumask_first
Signed-off-by: Rusty Russell <rusty@rustcorp.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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-27 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-27 9:59 [PATCH] cpumask: remove obsolete cpu operation in x86/kernel/apb_timer.c Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).