• Y
    x86: Move llc_shared_map out of cpu_info · b3d7336d
    Yinghai Lu 提交于
    cpu_info is already with per_cpu, We can take llc_shared_map out
    of cpu_info, and declare it as per_cpu variable directly.
    
    So later referencing could be simple and directly instead of
    diving to find cpu_info at first.
    
    Also could make smp_store_cpu_info() much simple to avoid to do
    save and restore trick.
    Signed-off-by: NYinghai Lu <yinghai@kernel.org>
    Cc: Hans Rosenfeld <hans.rosenfeld@amd.com>
    Cc: Alok N Kataria <akataria@vmware.com>
    Cc: Stephen Hemminger <shemminger@vyatta.com>
    Cc: Hans J. Koch <hjk@linutronix.de>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Borislav Petkov <borislav.petkov@amd.com>
    Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
    Cc: Robert Richter <robert.richter@amd.com>
    Cc: Suresh Siddha <suresh.b.siddha@intel.com>
    LKML-Reference: <4D3A16E8.5020608@kernel.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    b3d7336d
mce_amd.c 15.9 KB