All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpu remove CONFIG_INIT_ALL_POSSIBLE check
@ 2013-05-15  7:50 liguang
  2013-05-15  8:28 ` Srivatsa S. Bhat
  0 siblings, 1 reply; 3+ messages in thread
From: liguang @ 2013-05-15  7:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, srivatsa.bhat, Thomas Gleixner, Yasuaki Ishimatsu,
	Anton Vorontsov, liguang

seems CONFIG_INIT_ALL_POSSIBLE is obsolete now.

Signed-off-by: liguang <lig.fnst@cn.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);
 
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cpu remove CONFIG_INIT_ALL_POSSIBLE check
  2013-05-15  7:50 [PATCH] cpu remove CONFIG_INIT_ALL_POSSIBLE check liguang
@ 2013-05-15  8:28 ` Srivatsa S. Bhat
  2013-05-15  8:46   ` li guang
  0 siblings, 1 reply; 3+ messages in thread
From: Srivatsa S. Bhat @ 2013-05-15  8:28 UTC (permalink / raw)
  To: liguang
  Cc: linux-kernel, Andrew Morton, Thomas Gleixner, Yasuaki Ishimatsu,
	Anton Vorontsov

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

Regards,
Srivatsa S. Bhat

> Signed-off-by: liguang <lig.fnst@cn.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);
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cpu remove CONFIG_INIT_ALL_POSSIBLE check
  2013-05-15  8:28 ` Srivatsa S. Bhat
@ 2013-05-15  8:46   ` li guang
  0 siblings, 0 replies; 3+ messages in thread
From: li guang @ 2013-05-15  8:46 UTC (permalink / raw)
  To: Srivatsa S. Bhat
  Cc: linux-kernel, Andrew Morton, Thomas Gleixner, Yasuaki Ishimatsu,
	Anton Vorontsov

在 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@cn.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);
> > 
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-15  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15  7:50 [PATCH] cpu remove CONFIG_INIT_ALL_POSSIBLE check liguang
2013-05-15  8:28 ` Srivatsa S. Bhat
2013-05-15  8:46   ` li guang

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.