Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: [PATCH] x86: try to simplify NR_CPUS config

$
0
0
Linus Torvalds writes: (Summary) I think it can be simplified a bit more.
I think it can be simplified a bit more.
If you move the definition of RANGE_END_CPUS up to before RANGE_BEGIN_CPUS, you can then make the RANGE_BEGIN_CPUS just be something like
something like
default 1 if !SMP
default RANGE_END_CPUS if MAXSMP
default 2
default 2
which makes a whole lot more sense.
which makes a whole lot more sense.
and if you split that RANGE_END_CPUS so that the x86-32 and x86-64 cases are separate, that makes *those* more understandable.

Viewing all articles
Browse latest Browse all 627

Trending Articles