[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1368607570.5142.46.camel@liguang.fnst.cn.fujitsu.com>
Date: Wed, 15 May 2013 16:46:10 +0800
From: li guang <lig.fnst@...fujitsu.com>
To: "Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Yasuaki Ishimatsu <isimatu.yasuaki@...fujitsu.com>,
Anton Vorontsov <anton.vorontsov@...aro.org>
Subject: Re: [PATCH] cpu remove CONFIG_INIT_ALL_POSSIBLE check
在 2013-05-15三的 13:58 +0530,Srivatsa S. Bhat写道:
> On 05/15/2013 01:20 PM, liguang wrote:
> > seems CONFIG_INIT_ALL_POSSIBLE is obsolete now.
> >
>
> Um? A simple grep showed me this:
>
> arch/s390/Kconfig: select INIT_ALL_POSSIBLE
> arch/m32r/Kconfig: select INIT_ALL_POSSIBLE
> arch/parisc/Kconfig: select INIT_ALL_POSSIBLE
> init/Kconfig:config INIT_ALL_POSSIBLE
>
Oh, yes,
I was fooled by a script which is not aiming to do this check.
Thanks!
> > Signed-off-by: liguang <lig.fnst@...fujitsu.com>
> > ---
> > kernel/cpu.c | 5 -----
> > 1 files changed, 0 insertions(+), 5 deletions(-)
> >
> > diff --git a/kernel/cpu.c b/kernel/cpu.c
> > index cd166d3..2697d1a 100644
> > --- a/kernel/cpu.c
> > +++ b/kernel/cpu.c
> > @@ -662,12 +662,7 @@ EXPORT_SYMBOL_GPL(cpu_bit_bitmap);
> > const DECLARE_BITMAP(cpu_all_bits, NR_CPUS) = CPU_BITS_ALL;
> > EXPORT_SYMBOL(cpu_all_bits);
> >
> > -#ifdef CONFIG_INIT_ALL_POSSIBLE
> > -static DECLARE_BITMAP(cpu_possible_bits, CONFIG_NR_CPUS) __read_mostly
> > - = CPU_BITS_ALL;
> > -#else
> > static DECLARE_BITMAP(cpu_possible_bits, CONFIG_NR_CPUS) __read_mostly;
> > -#endif
> > const struct cpumask *const cpu_possible_mask = to_cpumask(cpu_possible_bits);
> > EXPORT_SYMBOL(cpu_possible_mask);
> >
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists