From patchwork Mon Mar 25 17:55:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15614 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 8E18D23E2C for ; Mon, 25 Mar 2013 17:55:55 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by fiordland.canonical.com (Postfix) with ESMTP id 43460A194BB for ; Mon, 25 Mar 2013 17:55:55 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id jw11so996972veb.36 for ; Mon, 25 Mar 2013 10:55:54 -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=Jdv5CwqyUQHh5FU7eMpxWVBcyDwIkHPEKdsp+BJbj04=; b=k8C5h5FBz2DPEyPfw3Wp1lu+l+6mOrAgExbY9FKDqMtQ19xSXJeszR3/HqbTZaOU23 851PVwAHQFoObh3TIwhcYgLZQs0p8dKC2YKnHcxPFwyygLUwMur9XlMQ/j//ToixvvbY 1Wi+uYKkijVJeMJCiVIDanCuRrnGG1T1JobJM4y5YybTBVIRVeulUFTtomrYeS9x7poB AzVqVPaeku4ao6LaLhSrCWxFYU8CWoCNi0sPaiNdS8UvAVQuCNujoaWrs42hLdWOm5J8 zUbOLfF1v95LRK4f4/srZHjJlkg0LpOiRPXKK9aK4i3NyFMcfWawv8CBbk+7SmPyqyQl Buvg== X-Received: by 10.220.153.143 with SMTP id k15mr16742426vcw.33.1364234154632; Mon, 25 Mar 2013 10:55:54 -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 cg12csp37228ved; Mon, 25 Mar 2013 10:55:54 -0700 (PDT) X-Received: by 10.194.242.163 with SMTP id wr3mr19680325wjc.35.1364234153610; Mon, 25 Mar 2013 10:55:53 -0700 (PDT) Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by mx.google.com with ESMTPS id c8si5378320wje.133.2013.03.25.10.55.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Mar 2013 10:55:53 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22a is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=2a00:1450:400c:c05::22a; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c05::22a 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-f170.google.com with SMTP id hm11so11353055wib.3 for ; Mon, 25 Mar 2013 10:55:53 -0700 (PDT) X-Received: by 10.194.134.66 with SMTP id pi2mr9298555wjb.51.1364234153099; Mon, 25 Mar 2013 10:55:53 -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 s2sm23927749wib.4.2013.03.25.10.55.49 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Mar 2013 10:55:51 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl, tglx@linutronix.de Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux@maxim.org.za, nicolas.ferre@atmel.com, plagnioj@jcrosoft.com, lenb@kernel.org, nsekhar@ti.com, kevin.hilman@linaro.org, horms@verge.net.au, magnus.damm@gmail.com, kernel@pengutronix.de, ben-linux@fluff.org, kgene.kim@samsung.com, rob.herring@calxeda.com, jason@lakedaemon.net, andrew@lunn.ch, linus.walleij@linaro.org, linux@arm.linux.org.uk Subject: [PATCH 05/15] cpuidle: imx6: remove timer broadcast initialization Date: Mon, 25 Mar 2013 18:55:30 +0100 Message-Id: <1364234140-514-6-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364234140-514-1-git-send-email-daniel.lezcano@linaro.org> References: <1364234140-514-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQk1n9es47SMNCeXgsnyZRx1LfP0dLJCvVPm+CTkxD2G8gRWljn0Dm/KRBN6cM+viLisCwev 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); }