Re: [PATCH 2/5] x86: Move per cpu cpu_llc_id to a field in structcpuinfo_x86

From: Borislav Petkov
Date: Tue Feb 21 2012 - 05:37:18 EST


On Mon, Feb 20, 2012 at 10:06:03PM -0400, Kevin Winchester wrote:
> This simplifies the various code paths using this field as it
> groups the per-cpu data together.
>
> Signed-off-by: Kevin Winchester <kjwinchester@xxxxxxxxx>
> ---
> arch/x86/include/asm/processor.h | 2 ++
> arch/x86/include/asm/smp.h | 2 --
> arch/x86/kernel/apic/apic_numachip.c | 2 +-
> arch/x86/kernel/cpu/amd.c | 14 ++++----------
> arch/x86/kernel/cpu/common.c | 1 +
> arch/x86/kernel/cpu/intel_cacheinfo.c | 11 ++---------
> arch/x86/kernel/smpboot.c | 18 ++++++++----------
> 7 files changed, 18 insertions(+), 32 deletions(-)

This actually makes the code even a bit easier on the eyes.

Acked-by: Borislav Petkov <bp@xxxxxxxxx>

--
Regards/Gruss,
Boris.
--
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/