Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758216Ab1DYJjR (ORCPT ); Mon, 25 Apr 2011 05:39:17 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:43613 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758103Ab1DYJjP (ORCPT ); Mon, 25 Apr 2011 05:39:15 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: LKML , Andrew Morton Subject: cpumask: convert for_each_cpumask() with for_each_cpu() Cc: kosaki.motohiro@jp.fujitsu.com Message-Id: <20110425184051.2696.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.56.05 [ja] Date: Mon, 25 Apr 2011 18:39:14 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 721 Lines: 31 Adapt new API fashion. Signed-off-by: KOSAKI Motohiro --- lib/cpumask.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/cpumask.c b/lib/cpumask.c index 05d6aca..4f6425d 100644 --- a/lib/cpumask.c +++ b/lib/cpumask.c @@ -30,7 +30,7 @@ int __any_online_cpu(const cpumask_t *mask) { int cpu; - for_each_cpu_mask(cpu, *mask) { + for_each_cpu(cpu, mask) { if (cpu_online(cpu)) break; } -- 1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/