From patchwork Mon Mar 25 17:55:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15613 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 045F823E2C for ; Mon, 25 Mar 2013 17:55:52 +0000 (UTC) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by fiordland.canonical.com (Postfix) with ESMTP id B3C8EA194B3 for ; Mon, 25 Mar 2013 17:55:51 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id m1so738890ves.13 for ; Mon, 25 Mar 2013 10:55:51 -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=sxgFBkeBYU97/HTIJvqybn/M9WIag9w4ZAGSp+gpKp0=; b=Cd6dL1gR0h93jpXPc1JHQlR2PUIHAJ1RyyGX0VcEoz2/tRW7youMqhjyk2ckahZ05Q l/24a+Q3zWnsy+KYxU3O3chnIyljCXPxs7nkLFugHtqyVjAzOjDPwf94KRgwUpf+A+4r VcYVcuN8Gv0S9XCwecq4M7IikC3+hFryMhNSHohPniSXPWmUul23S4/D5rTiOiaDs+ea kYi6SpnI4tkBUYdLXwvUSlndNzghEj53Z9Jw0SthGXChagowSAv5SYFd3RFEpEhQb8wh OfhdI1N9H/6a8DEzYKe8DwCsShxsaOtGXTwCbb7h2AMm9byXNTBNbEQ3/SkYrOYQ5mS+ 2k+g== X-Received: by 10.52.76.103 with SMTP id j7mr14517651vdw.90.1364234151283; Mon, 25 Mar 2013 10:55:51 -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 cg12csp37226ved; Mon, 25 Mar 2013 10:55:50 -0700 (PDT) X-Received: by 10.180.101.41 with SMTP id fd9mr18919606wib.20.1364234150444; Mon, 25 Mar 2013 10:55:50 -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 ca19si7432075wib.10.2013.03.25.10.55.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Mar 2013 10:55:50 -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 8so5087226wgl.18 for ; Mon, 25 Mar 2013 10:55:49 -0700 (PDT) X-Received: by 10.180.183.197 with SMTP id eo5mr9616773wic.28.1364234149845; Mon, 25 Mar 2013 10:55:49 -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.47 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Mar 2013 10:55:49 -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 04/15] cpuidle: OMAP4: remove timer broadcast initialization Date: Mon, 25 Mar 2013 18:55:29 +0100 Message-Id: <1364234140-514-5-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: ALoCoQk3enkS1BVhzNAAtwr4ABPagHZavNNPdzkWPejpj0bOBtjnlSrL9ygXFkPwbmWh8b+YeoKM The initialization is done from the cpuidle framework. Signed-off-by: Daniel Lezcano Acked-by: Santosh Shilimkar --- arch/arm/mach-omap2/cpuidle44xx.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c index fe0e025..f4b1b23 100644 --- a/arch/arm/mach-omap2/cpuidle44xx.c +++ b/arch/arm/mach-omap2/cpuidle44xx.c @@ -14,7 +14,6 @@ #include #include #include -#include #include @@ -158,16 +157,6 @@ fail: return index; } -/* - * For each cpu, setup the broadcast timer because local timers - * stops for the states above C1. - */ -static void omap_setup_broadcast_timer(void *arg) -{ - int cpu = smp_processor_id(); - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ON, &cpu); -} - static DEFINE_PER_CPU(struct cpuidle_device, omap4_idle_dev); static struct cpuidle_driver omap4_idle_driver = { @@ -233,9 +222,6 @@ int __init omap4_idle_init(void) if (!cpu_clkdm[0] || !cpu_clkdm[1]) return -ENODEV; - /* Configure the broadcast timer on each cpu */ - on_each_cpu(omap_setup_broadcast_timer, NULL, 1); - for_each_cpu(cpu_id, cpu_online_mask) { dev = &per_cpu(omap4_idle_dev, cpu_id); dev->cpu = cpu_id;