From patchwork Wed Mar 27 10:22:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15692 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 BFFE123E66 for ; Wed, 27 Mar 2013 10:22:26 +0000 (UTC) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by fiordland.canonical.com (Postfix) with ESMTP id 7496AA18172 for ; Wed, 27 Mar 2013 10:22:26 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id pb11so3554648veb.6 for ; Wed, 27 Mar 2013 03:22:26 -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=OQzHy8I1yW/9eU1KEBf5fWVkhjyKJw0dcKomhrOqkvo=; b=Dmu93lfhok16FJFHXtOao68pz7pWkEuJHZJCgdep0hzWcc0YAKBEV50l09h7Fqapn2 uKpzkLiAjd2rsDgx74+ygZ7QH9Lg79FBOWycZOd4xnEokmUQUoZLn7Th4lP4uremtXKM +atlM34P5kDvq5qWJdkatxu0mKSjEBAa5XhCdj5rr2Es8ZEt2zZnLAtm0WGNiGn+IKs1 vmiwbp53T6DLB+VOBnriH8sxFzANfJ4m65P24eJr4+04xna6bkFjXjcTw9U+a6z3WyYM zmDwu5H+rSgJOsz44vG6kr0klJL0TB8b2siNPrbkhkx45vemrzT0UzkmgDvnSugEIrYw QvsA== X-Received: by 10.59.3.9 with SMTP id bs9mr22654312ved.38.1364379746003; Wed, 27 Mar 2013 03:22:26 -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 cg12csp109290ved; Wed, 27 Mar 2013 03:22:25 -0700 (PDT) X-Received: by 10.180.74.67 with SMTP id r3mr8549689wiv.14.1364379745165; Wed, 27 Mar 2013 03:22:25 -0700 (PDT) Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]) by mx.google.com with ESMTPS id g7si2236348wiy.104.2013.03.27.03.22.24 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 03:22:25 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::234 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=2a00:1450:400c:c03::234; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c03::234 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-we0-f180.google.com with SMTP id r5so4464285wey.39 for ; Wed, 27 Mar 2013 03:22:24 -0700 (PDT) X-Received: by 10.194.10.129 with SMTP id i1mr18072691wjb.21.1364379744739; Wed, 27 Mar 2013 03:22:24 -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.22 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 03:22:24 -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 4/5] cpuidle: OMAP4: remove timer broadcast initialization Date: Wed, 27 Mar 2013 11:22:12 +0100 Message-Id: <1364379733-23725-4-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: ALoCoQkn4TCy7F3P4SlzQJAnK53Gz4rKKcKzpIiKsGalhALQNoYeoP1gMgCHz92al4SzCY/UbPwR 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;