From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv6 03/11] ARM: smp: Remove duplicate dummy timer implementation
Date: Mon, 20 May 2013 14:55:54 -0700 [thread overview]
Message-ID: <519A9BEA.1010404@codeaurora.org> (raw)
In-Reply-To: <1368473175-4841-4-git-send-email-sboyd@codeaurora.org>
On 05/13/13 12:26, Stephen Boyd wrote:
> Drop ARM's version of the dummy timer now that we have a generic
> implementation in drivers/clocksource.
>
> Cc: Russell King <linux@arm.linux.org.uk>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Russell, can you please ack this patch and patch #11?
> ---
> arch/arm/kernel/smp.c | 22 ++--------------------
> 1 file changed, 2 insertions(+), 20 deletions(-)
>
> diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
> index 47ab905..4dc883a 100644
> --- a/arch/arm/kernel/smp.c
> +++ b/arch/arm/kernel/smp.c
> @@ -503,24 +503,6 @@ void tick_broadcast(const struct cpumask *mask)
> }
> #endif
>
> -static void broadcast_timer_set_mode(enum clock_event_mode mode,
> - struct clock_event_device *evt)
> -{
> -}
> -
> -static void __cpuinit broadcast_timer_setup(struct clock_event_device *evt)
> -{
> - evt->name = "dummy_timer";
> - evt->features = CLOCK_EVT_FEAT_ONESHOT |
> - CLOCK_EVT_FEAT_PERIODIC |
> - CLOCK_EVT_FEAT_DUMMY;
> - evt->rating = 100;
> - evt->mult = 1;
> - evt->set_mode = broadcast_timer_set_mode;
> -
> - clockevents_register_device(evt);
> -}
> -
> static struct local_timer_ops *lt_ops;
>
> #ifdef CONFIG_LOCAL_TIMERS
> @@ -544,8 +526,8 @@ static void __cpuinit percpu_timer_setup(void)
>
> evt->cpumask = cpumask_of(cpu);
>
> - if (!lt_ops || lt_ops->setup(evt))
> - broadcast_timer_setup(evt);
> + if (lt_ops)
> + lt_ops->setup(evt);
> }
>
> #ifdef CONFIG_HOTPLUG_CPU
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2013-05-20 21:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 19:26 [PATCHv6 00/11] Remove ARM local timer API Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 01/11] clockevents: Prefer CPU local devices over global devices Stephen Boyd
2013-05-23 21:33 ` Sören Brinkmann
2013-05-13 19:26 ` [PATCHv6 02/11] clocksource: add generic dummy timer driver Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 03/11] ARM: smp: Remove duplicate dummy timer implementation Stephen Boyd
2013-05-20 21:55 ` Stephen Boyd [this message]
2013-05-13 19:26 ` [PATCHv6 04/11] ARM: smp_twd: Divorce smp_twd from local timer API Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 05/11] ARM: OMAP2+: Divorce " Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 06/11] ARM: EXYNOS4: Divorce mct " Stephen Boyd
2013-06-03 9:38 ` Kukjin Kim
2013-05-13 19:26 ` [PATCHv6 07/11] ARM: PRIMA2: Divorce timer-marco " Stephen Boyd
2013-05-31 18:38 ` Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 08/11] ARM: msm: Divorce msm_timer " Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 09/11] clocksource: time-armada-370-xp: Fix sparse warning Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 10/11] clocksource: time-armada-370-xp: Divorce from local timer API Stephen Boyd
2013-05-13 19:26 ` [PATCHv6 11/11] ARM: smp: Remove " Stephen Boyd
2013-05-31 17:45 ` [PATCHv6 00/11] Remove ARM " Stephen Boyd
2013-05-31 18:08 ` John Stultz
2013-05-31 22:16 ` Stephen Boyd
2013-06-03 8:39 ` Daniel Lezcano
2013-06-03 8:54 ` Marc Zyngier
2013-06-03 9:41 ` Kukjin Kim
2013-06-03 20:00 ` Stephen Boyd
2013-06-03 20:06 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=519A9BEA.1010404@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).