1
linux/arch/x86/kernel/cpu
Andreas Herrmann c0c52d28e0 x86: show cpuinfo only for online CPUs
Fix regressions introduced with 92cb7612ae.

It can happen that cpuinfo is displayed for CPUs that are not online or
even worse for CPUs not present at all. As an example, following was
shown for a "second" CPU of a single core K8 variant:

    processor       : 0
    vendor_id       : unknown
    cpu family      : 0
    model           : 0
    model name      : unknown
    stepping        : 0
    cache size      : 0 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 0
    wp              : yes
    flags           :
    bogomips        : 0.00
    clflush size    : 0
    cache_alignment : 0
    address sizes   : 0 bits physical, 0 bits virtual
    power management:

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-11-17 16:27:00 +01:00
..
cpufreq Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-11-16 18:30:26 -08:00
mcheck x86: fix cpu-hotplug regression 2007-11-17 16:27:00 +01:00
mtrr x86: make ipi_handler() always defined 2007-11-09 22:39:38 +01:00
addon_cpuid_features.c
amd.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
bugs.c
centaur.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
common.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
cpu.h
cyrix.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
intel_cacheinfo.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
intel.c i386: fix section mismatch warning in intel.c 2007-10-17 20:15:26 +02:00
Makefile x86: prepare consolidation of cpu/ related Makefiles 2007-10-23 22:37:23 +02:00
nexgen.c
perfctr-watchdog.c i386: do not BUG_ON() when MSR is unknown 2007-10-19 20:35:04 +02:00
proc.c x86: show cpuinfo only for online CPUs 2007-11-17 16:27:00 +01:00
transmeta.c
umc.c