mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: linux-kernel@vger.kernel.org, Andi Kleen <ak@linux.intel.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 25/27] Initconst section fixes for percpu
Date: Sat, 17 Sep 2011 09:41:53 +0900	[thread overview]
Message-ID: <20110917004153.GV29319@htj.dyndns.org> (raw)
In-Reply-To: <1316117394-21666-26-git-send-email-andi@firstfloor.org>

Hello,

On Thu, Sep 15, 2011 at 01:09:52PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
> 
> Cc: tj@kernel.org
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

 Acked-by: Tejun Heo <tj@kernel.org>

Andrew, can you please take this one too?

Thank you very much.

> ---
>  include/linux/percpu.h |    2 +-
>  mm/percpu.c            |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/percpu.h b/include/linux/percpu.h
> index 9ca008f..2b79f8f 100644
> --- a/include/linux/percpu.h
> +++ b/include/linux/percpu.h
> @@ -107,7 +107,7 @@ enum pcpu_fc {
>  
>  	PCPU_FC_NR,
>  };
> -extern const char *pcpu_fc_names[PCPU_FC_NR];
> +extern const char * const pcpu_fc_names[PCPU_FC_NR];
>  
>  extern enum pcpu_fc pcpu_chosen_fc;
>  
> diff --git a/mm/percpu.c b/mm/percpu.c
> index bf80e55..15dd9a3 100644
> --- a/mm/percpu.c
> +++ b/mm/percpu.c
> @@ -1344,7 +1344,7 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
>  
>  #ifdef CONFIG_SMP
>  
> -const char *pcpu_fc_names[PCPU_FC_NR] __initdata = {
> +const char * const pcpu_fc_names[PCPU_FC_NR] __initconst = {
>  	[PCPU_FC_AUTO]	= "auto",
>  	[PCPU_FC_EMBED]	= "embed",
>  	[PCPU_FC_PAGE]	= "page",
> -- 
> 1.7.4.4

-- 
tejun

  reply	other threads:[~2011-09-17  0:42 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 20:09 Tree sweep to fix up initconst Andi Kleen
2011-09-15 20:09 ` [PATCH 01/27] Initconst section fixes for ARM Andi Kleen
2011-09-15 20:09 ` [PATCH 02/27] Initconst section fixes for FRV Andi Kleen
2011-09-15 20:09 ` [PATCH 03/27] Initconst section fixes for H8300 Andi Kleen
2011-09-15 20:09 ` [PATCH 04/27] Initconst section fixes for IA64 Andi Kleen
2011-09-15 20:09 ` [PATCH 05/27] Initconst section fixes for M68K Andi Kleen
2011-10-31 18:05   ` Geert Uytterhoeven
2011-09-15 20:09 ` [PATCH 06/27] Initconst section fixes for MIPS Andi Kleen
2011-09-22 16:59   ` Ralf Baechle
2011-09-15 20:09 ` [PATCH 07/27] Initconst section fixes for POWERPC Andi Kleen
2011-09-15 20:45   ` Josh Boyer
2011-09-15 20:48     ` Andi Kleen
2011-09-15 20:56       ` Josh Boyer
2011-09-15 20:57         ` Andi Kleen
2011-09-15 23:04           ` Josh Boyer
2011-09-15 23:10             ` Andi Kleen
2011-09-15 23:26           ` Thomas Gleixner
2011-09-15 21:43       ` Jonathan Nieder
2011-09-15 20:09 ` [PATCH 08/27] Initconst section fixes for SH Andi Kleen
2011-09-15 20:09 ` [PATCH 09/27] Initconst section fixes for X86 Andi Kleen
2011-09-15 20:09 ` [PATCH 10/27] Initconst section fixes for CPUFREQ Andi Kleen
2011-09-15 21:43   ` Dave Jones
2011-09-15 20:09 ` [PATCH 11/27] Initconst section fixes for EDAC Andi Kleen
2011-09-15 20:09 ` [PATCH 12/27] Initconst section fixes for hwmon Andi Kleen
2011-09-15 20:09 ` [PATCH 13/27] Initconst section fixes for IDE Andi Kleen
2011-09-15 21:12   ` David Miller
2011-09-15 20:09 ` [PATCH 14/27] Initconst section fixes for macintosh Andi Kleen
2011-09-15 20:09 ` [PATCH 15/27] Initconst section fixes for media Andi Kleen
2011-09-15 20:09 ` [PATCH 16/27] Initconst section fixes for mfd Andi Kleen
2011-09-26  8:48   ` Samuel Ortiz
2011-09-15 20:09 ` [PATCH 17/27] Initconst section fixes for mmc Andi Kleen
2011-09-15 20:09 ` [PATCH 18/27] Initconst section fixes for mtd Andi Kleen
2011-09-15 20:09 ` [PATCH 19/27] Initconst section fixes for drivers/net Andi Kleen
2011-09-15 21:12   ` David Miller
2011-09-15 20:09 ` [PATCH 20/27] Initconst section fixes for SCSI Andi Kleen
2011-09-15 20:18   ` James Bottomley
2011-09-15 20:30     ` Andi Kleen
2011-09-15 20:09 ` [PATCH 21/27] Initconst section fixes for SPI Andi Kleen
2011-09-15 20:57   ` Grant Likely
2011-09-15 20:59     ` Andi Kleen
2011-09-15 20:09 ` [PATCH 22/27] Initconst section fixes for TTY Andi Kleen
2011-09-15 20:09 ` [PATCH 23/27] Initconst section fixes for VIDEO Andi Kleen
2011-09-15 20:09 ` [PATCH 24/27] Initconst section fixes for watchdog Andi Kleen
2011-09-15 20:09 ` [PATCH 25/27] Initconst section fixes for percpu Andi Kleen
2011-09-17  0:41   ` Tejun Heo [this message]
2011-09-15 20:09 ` [PATCH 26/27] Initconst section fixes for net Andi Kleen
2011-09-15 21:12   ` David Miller
2011-09-15 20:09 ` [PATCH 27/27] Initconst section fixes for lib Andi Kleen
2011-09-15 23:33 ` Tree sweep to fix up initconst Thomas Gleixner
2011-09-20 15:18 ` [PATCH 02/27] Initconst section fixes for FRV David Howells

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=20110917004153.GV29319@htj.dyndns.org \
    --to=htejun@gmail.com \
    --cc=ak@linux.intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®