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: 13806 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 1AA1C23EC8 for ; Fri, 4 Jan 2013 17:00:09 +0000 (UTC) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by fiordland.canonical.com (Postfix) with ESMTP id B6064A197DA for ; Fri, 4 Jan 2013 17:00:08 +0000 (UTC) Received: by mail-vb0-f47.google.com with SMTP id e21so16496575vbm.20 for ; Fri, 04 Jan 2013 09:00:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=7OKCWjBjYXMsOTXKFdPAEWM4NZN3ZMommOkiuEHqfO4=; b=GT8uBJ0kHvasSNfknpecK3fd3/XNAAVkQl9YUT/iUSgoHDXgEbFMqNziilMxezIDYB 4mAPMqkYe+xyR+CvV3bfxR3bWk6bopIdWriT0Y6UpokIPldn85YMxVQ9zVMPOK3ZFRzU i1V9NWR10wd23lAGKl2Z6N2drneUTglulEkZ3ADC/sKN5Q5+0jQfaXFGjN3JJ6uK7m6B a1oDS072fiYz4ug9jYaR0WPXH8c2LpPjP1Nf5JjWl+SmX2CqJM4U6S/hhC7VFodzabRX 3oaXIIuZHNwhWe1A57ih2vtihxyq0yJSF5dH40p0n7yH7xUdyL83A9Ki3TR/b7gM982J iOIw== X-Received: by 10.220.238.139 with SMTP id ks11mr75359765vcb.49.1357318808237; Fri, 04 Jan 2013 09:00:08 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp146424veb; Fri, 4 Jan 2013 09:00:07 -0800 (PST) X-Received: by 10.180.99.129 with SMTP id eq1mr74811528wib.30.1357318806712; Fri, 04 Jan 2013 09:00:06 -0800 (PST) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx.google.com with ESMTPS id ce2si77069599wib.6.2013.01.04.09.00.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Jan 2013 09:00:06 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.182 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=209.85.212.182; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.182 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-wi0-f182.google.com with SMTP id hn14so35799wib.3 for ; Fri, 04 Jan 2013 09:00:06 -0800 (PST) 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 Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, patches@linaro.org, linaro-dev@lists.linaro.org 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: ALoCoQnykHNTnvFZShEyF/BZnQF+l6Bifdh8V7QS03Znh4l3f6zaAbYxVbfMeWMuL+DIh+NbIZyj 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;