summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mpspec_def.h
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@infradead.org>2009-01-04 21:58:25 +0530
committerIngo Molnar <mingo@elte.hu>2009-01-05 14:08:33 +0100
commitc4563826b72b0d12500260093179a660e79bf412 (patch)
treeec5042aa58a0321fce52d1f69659da17db365929 /arch/x86/include/asm/mpspec_def.h
parente253b396b145311477b23c176e868e5af6f79174 (diff)
downloadop-kernel-dev-c4563826b72b0d12500260093179a660e79bf412.zip
op-kernel-dev-c4563826b72b0d12500260093179a660e79bf412.tar.gz
x86: rename all fields of mpc_cpu mpc_X to X
Impact: cleanup, solve 80 columns wrap problems It would be cleaner to rename all the mpc->mpc_X fields to mpc->X - that alone would give 4 characters per usage site. (we already know that it's an 'mpc' entity - no need to duplicate that in the field too) Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/mpspec_def.h')
-rw-r--r--arch/x86/include/asm/mpspec_def.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/include/asm/mpspec_def.h b/arch/x86/include/asm/mpspec_def.h
index e24e1bc..78057aa 100644
--- a/arch/x86/include/asm/mpspec_def.h
+++ b/arch/x86/include/asm/mpspec_def.h
@@ -71,13 +71,13 @@ struct mpc_table {
#define CPU_FAMILY_MASK 0x0F00
struct mpc_cpu {
- unsigned char mpc_type;
- unsigned char mpc_apicid; /* Local APIC number */
- unsigned char mpc_apicver; /* Its versions */
- unsigned char mpc_cpuflag;
- unsigned int mpc_cpufeature;
- unsigned int mpc_featureflag; /* CPUID feature value */
- unsigned int mpc_reserved[2];
+ unsigned char type;
+ unsigned char apicid; /* Local APIC number */
+ unsigned char apicver; /* Its versions */
+ unsigned char cpuflag;
+ unsigned int cpufeature;
+ unsigned int featureflag; /* CPUID feature value */
+ unsigned int reserved[2];
};
struct mpc_bus {
OpenPOWER on IntegriCloud