]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpuid: Cleanup cpuid_regs definitions
authorHe Chen <he.chen@linux.intel.com>
Fri, 11 Nov 2016 09:25:34 +0000 (17:25 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Nov 2016 10:13:09 +0000 (11:13 +0100)
commit51d9be00e448bab2ee5fc74ec8d71d952d91b72d
tree09d8ba3fdb81d3a6037352dd681a6cb53290b06b
parent2985d194ef10cb23fea52fc79820308ef56759e5
x86/cpuid: Cleanup cpuid_regs definitions

cpuid_regs is defined multiple times as structure and enum. Rename the enum
and move all of it to processor.h so we don't end up with more instances.

Rename the misnomed register enumeration from CR_* to the obvious CPUID_*.

[ tglx: Rewrote changelog ]

Signed-off-by: He Chen <he.chen@linux.intel.com>
Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Luwei Kang <luwei.kang@intel.com>
Cc: kvm@vger.kernel.org
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Piotr Luc <Piotr.Luc@intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: http://lkml.kernel.org/r/1478856336-9388-2-git-send-email-he.chen@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/events/intel/pt.c
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/scattered.c
arch/x86/kernel/cpuid.c