Commit 637cba02 authored by Paolo Ciarrocchi's avatar Paolo Ciarrocchi Committed by Ingo Molnar

x86: coding style fixes to arch/x86/mach-generic/bigsmp.c

arch/x86/mach-generic/bigsmp.o:
   text    data     bss     dec     hex filename
   1271     144       4    1419     58b bigsmp.o.before
   1271     144       4    1419     58b bigsmp.o.after
md5:
 b83aad375294c002c79b03c3a2e4be35  bigsmp.o.before.asm
 b83aad375294c002c79b03c3a2e4be35  bigsmp.o.after.asm
Signed-off-by: default avatarPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c99aa380
/* /*
* APIC driver for "bigsmp" XAPIC machines with more than 8 virtual CPUs. * APIC driver for "bigsmp" XAPIC machines with more than 8 virtual CPUs.
* Drives the local APIC in "clustered mode". * Drives the local APIC in "clustered mode".
*/ */
...@@ -32,26 +32,26 @@ static int hp_ht_bigsmp(const struct dmi_system_id *d) ...@@ -32,26 +32,26 @@ static int hp_ht_bigsmp(const struct dmi_system_id *d)
static const struct dmi_system_id bigsmp_dmi_table[] = { static const struct dmi_system_id bigsmp_dmi_table[] = {
{ hp_ht_bigsmp, "HP ProLiant DL760 G2", { { hp_ht_bigsmp, "HP ProLiant DL760 G2",
DMI_MATCH(DMI_BIOS_VENDOR, "HP"), { DMI_MATCH(DMI_BIOS_VENDOR, "HP"),
DMI_MATCH(DMI_BIOS_VERSION, "P44-"), DMI_MATCH(DMI_BIOS_VERSION, "P44-"),}
}}, },
{ hp_ht_bigsmp, "HP ProLiant DL740", { { hp_ht_bigsmp, "HP ProLiant DL740",
DMI_MATCH(DMI_BIOS_VENDOR, "HP"), { DMI_MATCH(DMI_BIOS_VENDOR, "HP"),
DMI_MATCH(DMI_BIOS_VERSION, "P47-"), DMI_MATCH(DMI_BIOS_VERSION, "P47-"),}
}}, },
{ } { }
}; };
static int probe_bigsmp(void) static int probe_bigsmp(void)
{ {
if (def_to_bigsmp) if (def_to_bigsmp)
dmi_bigsmp = 1; dmi_bigsmp = 1;
else else
dmi_check_system(bigsmp_dmi_table); dmi_check_system(bigsmp_dmi_table);
return dmi_bigsmp; return dmi_bigsmp;
} }
struct genapic apic_bigsmp = APIC_INIT("bigsmp", probe_bigsmp); struct genapic apic_bigsmp = APIC_INIT("bigsmp", probe_bigsmp);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment