From: Tony Lindgren <tony@atomide.com>
To: Oussama Ghorbel <ghorbel@pivasoftware.com>
Cc: Russell King <linux@arm.linux.org.uk>,
linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: OMAP2+: free use_gptimer_clksrc variable after boot
Date: Mon, 5 May 2014 17:35:20 -0700 [thread overview]
Message-ID: <20140506003520.GN25949@atomide.com> (raw)
In-Reply-To: <1397494170-3111-1-git-send-email-ghorbel@pivasoftware.com>
* Oussama Ghorbel <ghorbel@pivasoftware.com> [140414 09:50]:
> The variable use_gptimer_clksrc is only used by two __init functions,
> So we can freely free it after boot.
>
> Signed-off-by: Oussama Ghorbel <ghorbel@pivasoftware.com>
Thanks applying into omap-for-v3.16/fixes-not-urgent.
Tony
> ---
> arch/arm/mach-omap2/timer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
> index 74044aa..d4a6abd 100644
> --- a/arch/arm/mach-omap2/timer.c
> +++ b/arch/arm/mach-omap2/timer.c
> @@ -361,7 +361,7 @@ static void __init omap2_gp_clockevent_init(int gptimer_id,
>
> /* Clocksource code */
> static struct omap_dm_timer clksrc;
> -static bool use_gptimer_clksrc;
> +static bool use_gptimer_clksrc __initdata;
>
> /*
> * clocksource
> --
> 1.8.3.2
>
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OMAP2+: free use_gptimer_clksrc variable after boot
Date: Mon, 5 May 2014 17:35:20 -0700 [thread overview]
Message-ID: <20140506003520.GN25949@atomide.com> (raw)
In-Reply-To: <1397494170-3111-1-git-send-email-ghorbel@pivasoftware.com>
* Oussama Ghorbel <ghorbel@pivasoftware.com> [140414 09:50]:
> The variable use_gptimer_clksrc is only used by two __init functions,
> So we can freely free it after boot.
>
> Signed-off-by: Oussama Ghorbel <ghorbel@pivasoftware.com>
Thanks applying into omap-for-v3.16/fixes-not-urgent.
Tony
> ---
> arch/arm/mach-omap2/timer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
> index 74044aa..d4a6abd 100644
> --- a/arch/arm/mach-omap2/timer.c
> +++ b/arch/arm/mach-omap2/timer.c
> @@ -361,7 +361,7 @@ static void __init omap2_gp_clockevent_init(int gptimer_id,
>
> /* Clocksource code */
> static struct omap_dm_timer clksrc;
> -static bool use_gptimer_clksrc;
> +static bool use_gptimer_clksrc __initdata;
>
> /*
> * clocksource
> --
> 1.8.3.2
>
next prev parent reply other threads:[~2014-05-06 0:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-14 16:49 [PATCH] ARM: OMAP2+: free use_gptimer_clksrc variable after boot Oussama Ghorbel
2014-04-14 16:49 ` Oussama Ghorbel
2014-05-06 0:35 ` Tony Lindgren [this message]
2014-05-06 0:35 ` Tony Lindgren
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=20140506003520.GN25949@atomide.com \
--to=tony@atomide.com \
--cc=ghorbel@pivasoftware.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.