Re: [PATCH] cpu remove CONFIG_INIT_ALL_POSSIBLE check

From: li guang
Date: Wed May 15 2013 - 04:47:59 EST


å 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@xxxxxxxxxxxxxx>
> > ---
> > 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/