Skip to contentSkip to conversation

x86-64: remove unused variable maxcpus

PATCH New Jan Beulich 1 participant 1 message Jun 12, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86-64: remove unused variable maxcpus

.. and adjust documentation to properly reflect options that are x86-64 specific.

 Documentation/x86_64/boot-options.txt |    6 ------
 arch/x86_64/kernel/mpparse.c          |    1 -
 2 files changed, 7 deletions(-)
Documentation/x86_64/boot-options.txt +0 -6
@@ -134,12 +134,6 @@ Non Executable Mappings
 
 SMP
 
-  nosmp	Only use a single CPU
-
-  maxcpus=NUMBER only use upto NUMBER CPUs
-
-  cpumask=MASK   only use cpus with bits set in mask
-
   additional_cpus=NUM Allow NUM more CPUs for hotplug
 		 (defaults are specified by the BIOS, see Documentation/x86_64/cpu-hotplug-spec)
 
arch/x86_64/kernel/mpparse.c +0 -1
@@ -32,7 +32,6 @@
 
 /* Have we found an MP table */
 int smp_found_config;
-unsigned int __initdata maxcpus = NR_CPUS;
 
 /*
  * Various Linux-internal data structures created from the