From patchwork Fri Jan 4 16:59:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1933971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id A495F3FF0F for ; Fri, 4 Jan 2013 17:03:41 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TrAdH-0006Gf-AN; Fri, 04 Jan 2013 17:00:35 +0000 Received: from mail-wi0-f176.google.com ([209.85.212.176]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TrAcq-00069U-9V for linux-arm-kernel@lists.infradead.org; Fri, 04 Jan 2013 17:00:09 +0000 Received: by mail-wi0-f176.google.com with SMTP id hm6so34434wib.15 for ; Fri, 04 Jan 2013 09:00:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=7OKCWjBjYXMsOTXKFdPAEWM4NZN3ZMommOkiuEHqfO4=; b=dWCgm0b78JgtvK4OIPFkyD2FqnYarUhS7NJEvrEaHaWmEcGFmwN/J8kM1uc2qVjRW/ kp/u+djkp7L/UMEvJusg9fMsMJ5XzL1QFU68eanFecamqZ46By2MG8yJD91gNyz9osKy gvY5MSwfyZRrFNlMSi3LxmXdSpCwp5ZQPyrcLNqEc0n6pzyUXhUftSzWjTCdxYo2/y0k MJeIV3zcyP11eQus+DJJaMZ9vb0evpBHpyEmDw0MYhJ710BIq/cIla/m7XaRP193CrOH EMo9WHUmk8AwfxHwXCn5Qj2QHEq/ruZBisBq2DbzCL/4iYeWLIdvPoz4lZmLpDudr5Gi K2lw== X-Received: by 10.180.20.198 with SMTP id p6mr66152645wie.19.1357318806313; Fri, 04 Jan 2013 09:00:06 -0800 (PST) Received: from mai.home (AToulouse-654-1-322-234.w86-199.abo.wanadoo.fr. [86.199.209.234]) by mx.google.com with ESMTPS id t17sm91133761wiv.6.2013.01.04.09.00.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Jan 2013 09:00:05 -0800 (PST) From: Daniel Lezcano To: kgene.kim@samsung.com Subject: [PATCH 3/5] ARM: exynos: replace cpumask by the corresponding macro Date: Fri, 4 Jan 2013 17:59:57 +0100 Message-Id: <1357318799-24378-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1357318799-24378-1-git-send-email-daniel.lezcano@linaro.org> References: <1357318799-24378-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQm/rpc0QlvfBnWLJi/HZGQR7gUUdi+71pjociOA6ZoxhV9wFR64Bad7QUwyxsNAhOs6eAW1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130104_120008_461814_33BD7B4D X-CRM114-Status: GOOD ( 11.82 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.176 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux-samsung-soc@vger.kernel.org, linaro-dev@lists.linaro.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A trivial patch to replace for_each_cpu(cpu_id, cpu_online_mask) by the corresponding macro. Signed-off-by: Daniel Lezcano --- arch/arm/mach-exynos/cpuidle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index a5fe194..6e90bed 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -205,7 +205,7 @@ static int __init exynos4_init_cpuidle(void) return ret; } - for_each_cpu(cpu_id, cpu_online_mask) { + for_each_online_cpu(cpu_id) { device = &per_cpu(exynos4_cpuidle_device, cpu_id); device->cpu = cpu_id;