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: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
c99aa3804e
commit
637cba0261
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* 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)
|
|||||||
|
|
||||||
|
|
||||||
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);
|
||||||
|
Reference in New Issue
Block a user