• A
    x86: show cpuinfo only for online CPUs · c0c52d28
    Andreas Herrmann 提交于
    Fix regressions introduced with 92cb7612.
    
    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: NAndreas Herrmann <andreas.herrmann3@amd.com>
    Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
    c0c52d28
setup_64.c 30.7 KB