#include #include #include #include #include #include #include #include "linuxbios_table.h" #if CONFIG_SMP && CONFIG_MAX_PHYSICAL_CPUS && (CONFIG_MAX_PHYSICAL_CPUS < CONFIG_MAX_CPUS) static void remove_logical_cpus(unsigned long *processor_map) { /* To turn off hyperthreading just remove the logical * cpus from the processor map. */ int disable_logical_cpus = !CONFIG_LOGICAL_CPUS; if (get_option(&disable_logical_cpus,"hyper_threading")) { disable_logical_cpus = !CONFIG_LOGICAL_CPUS; } if (disable_logical_cpus) { /* disable logical cpus */ int cnt; for(cnt=CONFIG_MAX_PHYSICAL_CPUS;cnt> 10, rom_table_end >> 10); return get_lb_mem(); }