Re: [PATCH v3 0/5] x86: Cleanup and simplify cpu-specific data

From: Kevin Winchester
Date: Wed Feb 22 2012 - 18:44:00 EST


On 22 February 2012 19:32, Kevin Winchester <kjwinchester@xxxxxxxxx> wrote:
> Kevin Winchester (5):
>  x86: Move per cpu cpu_llc_shared_map to a field in struct cpuinfo_x86
>  x86: Move per cpu cpu_llc_id to a field in struct cpuinfo_x86
>  x86: Move per cpu cpu_sibling_map to a field in struct cpuinfo_x86
>  x86: Move per cpu cpu_core_map to a field in struct cpuinfo_x86
>  x86: Remove #ifdef CONFIG_SMP sections by moving smp_num_siblings
>    into common.c
>
>  arch/x86/include/asm/perf_event_p4.h  |   14 +----
>  arch/x86/include/asm/processor.h      |   10 ++++
>  arch/x86/include/asm/smp.h            |   26 +---------
>  arch/x86/include/asm/topology.h       |   10 ++--
>  arch/x86/kernel/apic/apic_numachip.c  |    2 +-
>  arch/x86/kernel/cpu/amd.c             |   18 ++-----
>  arch/x86/kernel/cpu/common.c          |    7 ++-
>  arch/x86/kernel/cpu/intel_cacheinfo.c |   19 ++-----
>  arch/x86/kernel/cpu/mcheck/mce_amd.c  |    9 ++--
>  arch/x86/kernel/cpu/perf_event_p4.c   |    4 +-
>  arch/x86/kernel/cpu/proc.c            |    8 +--
>  arch/x86/kernel/cpu/topology.c        |    2 -
>  arch/x86/kernel/process.c             |    3 +-
>  arch/x86/kernel/smpboot.c             |   95 +++++++++++++--------------------
>  arch/x86/oprofile/nmi_int.c           |    6 --
>  arch/x86/oprofile/op_model_p4.c       |   11 +----
>  arch/x86/xen/smp.c                    |    6 --
>  drivers/cpufreq/acpi-cpufreq.c        |    2 +-
>  drivers/cpufreq/p4-clockmod.c         |    4 +-
>  drivers/cpufreq/powernow-k8.c         |   13 +----
>  drivers/cpufreq/speedstep-ich.c       |    6 +-
>  drivers/hwmon/coretemp.c              |    6 +--
>  22 files changed, 91 insertions(+), 190 deletions(-)
>

Please ignore this posting, I rushed it and did not build all
combinations. It looks like a new user of cpu_core_mask appeared in
tip since my last rebase.

I'll send the series out again once I have confirmed that everything is correct.

--
Kevin Winchester
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/