From patchwork Wed Mar 27 10:22:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15693 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 C810C23E66 for ; Wed, 27 Mar 2013 10:22:28 +0000 (UTC) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by fiordland.canonical.com (Postfix) with ESMTP id 84008A18183 for ; Wed, 27 Mar 2013 10:22:28 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id hf12so6350964vcb.34 for ; Wed, 27 Mar 2013 03:22:28 -0700 (PDT) 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=ty66dQLAkaxGx95ONyPt1rYS0+95at96cwuS4kV2nWc=; b=Uwx1Ry6fLexDbit7nWAQVxX13s9SjjdVP4eFCwge9WBMd7zCgEW5Y7MfojdA4YaIU2 Et0FuvDKPWVkhTPOiZnSCOft8ApLVQDap3dljav5MQgxW1ot9gVAKvzdAHqLbhAUloB9 M3VB3kBMXlgYRaAgZ9dEgTeVU0muuKMKK+JbmgWjMRq3ZrmTza1rjCwl+JJyLFjEdlSf VQMZ5V0TRNv0/N8czaHxs5DtlZ6sZC1YXC+N6Q8TzUAaG9NcL1RE22WJ0EJLMUEeX0jO BaLkYnJy0jdttdVOz8V1h8rKrQmjkMY8aj1YRxoBOlgP7zcBkNttnPu8SDUPo5uhSvsW 7n8g== X-Received: by 10.52.76.103 with SMTP id j7mr19554900vdw.90.1364379748067; Wed, 27 Mar 2013 03:22:28 -0700 (PDT) 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.59.4.204 with SMTP id cg12csp109291ved; Wed, 27 Mar 2013 03:22:27 -0700 (PDT) X-Received: by 10.194.120.195 with SMTP id le3mr30177266wjb.46.1364379747182; Wed, 27 Mar 2013 03:22:27 -0700 (PDT) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx.google.com with ESMTPS id w10si8043374wjy.30.2013.03.27.03.22.26 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 03:22:27 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.51 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.51; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.51 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-wg0-f51.google.com with SMTP id b12so306905wgh.6 for ; Wed, 27 Mar 2013 03:22:26 -0700 (PDT) X-Received: by 10.180.92.97 with SMTP id cl1mr8596763wib.19.1364379746528; Wed, 27 Mar 2013 03:22:26 -0700 (PDT) Received: from mai.home (AToulouse-654-1-426-131.w2-6.abo.wanadoo.fr. [2.6.209.131]) by mx.google.com with ESMTPS id dp5sm7754760wib.1.2013.03.27.03.22.24 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 03:22:25 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl Cc: tglx@linutronix.de, linus.walleij@linaro.org, kernel@pengutronix.de, santosh.shilimkar@ti.com, linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, patches@linaro.org Subject: [PATCH 5/5] cpuidle: imx6: remove timer broadcast initialization Date: Wed, 27 Mar 2013 11:22:13 +0100 Message-Id: <1364379733-23725-5-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364379733-23725-1-git-send-email-daniel.lezcano@linaro.org> References: <1364379733-23725-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQn5TE9Mx7HqtUdI0OCtnUiH8l+gfq9rK444kf86E1aBowru1BUS+KZrVcvm4m/O+XgYXWaM The initialization is done from the cpuidle framework. Signed-off-by: Daniel Lezcano Acked-by: Shawn Guo --- arch/arm/mach-imx/cpuidle-imx6q.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/arch/arm/mach-imx/cpuidle-imx6q.c b/arch/arm/mach-imx/cpuidle-imx6q.c index 5ae22f7..a783a63 100644 --- a/arch/arm/mach-imx/cpuidle-imx6q.c +++ b/arch/arm/mach-imx/cpuidle-imx6q.c @@ -6,7 +6,6 @@ * published by the Free Software Foundation. */ -#include #include #include #include @@ -43,17 +42,6 @@ done: return index; } -/* - * For each cpu, setup the broadcast timer because local timer - * stops for the states other than WFI. - */ -static void imx6q_setup_broadcast_timer(void *arg) -{ - int cpu = smp_processor_id(); - - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ON, &cpu); -} - static struct cpuidle_driver imx6q_cpuidle_driver = { .name = "imx6q_cpuidle", .owner = THIS_MODULE, @@ -84,8 +72,5 @@ int __init imx6q_cpuidle_init(void) /* Set chicken bit to get a reliable WAIT mode support */ imx6q_set_chicken_bit(); - /* Configure the broadcast timer on each cpu */ - on_each_cpu(imx6q_setup_broadcast_timer, NULL, 1); - return imx_cpuidle_init(&imx6q_cpuidle_driver); }