summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mpspec_def.h
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@infradead.org>2009-01-04 22:22:56 +0530
committerIngo Molnar <mingo@elte.hu>2009-01-05 14:08:34 +0100
commit6c65da50bd4589b6b627d4842b8e6705a0ccaab5 (patch)
treedcbed07153dd111b6a7f59b0ff590c37d504d701 /arch/x86/include/asm/mpspec_def.h
parenta1d0272a4676460787bcd7352414e0286763968d (diff)
downloadlinux-0-day-6c65da50bd4589b6b627d4842b8e6705a0ccaab5.tar.gz
linux-0-day-6c65da50bd4589b6b627d4842b8e6705a0ccaab5.tar.xz
x86: rename all fields of mpc_table 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.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86/include/asm/mpspec_def.h b/arch/x86/include/asm/mpspec_def.h
index 6ea62ea2dc214..59568bc4767f6 100644
--- a/arch/x86/include/asm/mpspec_def.h
+++ b/arch/x86/include/asm/mpspec_def.h
@@ -40,16 +40,16 @@ struct intel_mp_floating {
#define MPC_SIGNATURE "PCMP"
struct mpc_table {
- char mpc_signature[4];
- unsigned short mpc_length; /* Size of table */
- char mpc_spec; /* 0x01 */
- char mpc_checksum;
- char mpc_oem[8];
- char mpc_productid[12];
- unsigned int mpc_oemptr; /* 0 if not present */
- unsigned short mpc_oemsize; /* 0 if not present */
- unsigned short mpc_oemcount;
- unsigned int mpc_lapic; /* APIC address */
+ char signature[4];
+ unsigned short length; /* Size of table */
+ char spec; /* 0x01 */
+ char checksum;
+ char oem[8];
+ char productid[12];
+ unsigned int oemptr; /* 0 if not present */
+ unsigned short oemsize; /* 0 if not present */
+ unsigned short oemcount;
+ unsigned int lapic; /* APIC address */
unsigned int reserved;
};