mirror of https://gitee.com/openkylin/linux.git
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:
parent
c99aa3804e
commit
637cba0261
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* APIC driver for "bigsmp" XAPIC machines with more than 8 virtual CPUs.
|
||||
* 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[] = {
|
||||
{ hp_ht_bigsmp, "HP ProLiant DL760 G2", {
|
||||
DMI_MATCH(DMI_BIOS_VENDOR, "HP"),
|
||||
DMI_MATCH(DMI_BIOS_VERSION, "P44-"),
|
||||
}},
|
||||
{ hp_ht_bigsmp, "HP ProLiant DL760 G2",
|
||||
{ DMI_MATCH(DMI_BIOS_VENDOR, "HP"),
|
||||
DMI_MATCH(DMI_BIOS_VERSION, "P44-"),}
|
||||
},
|
||||
|
||||
{ hp_ht_bigsmp, "HP ProLiant DL740", {
|
||||
DMI_MATCH(DMI_BIOS_VENDOR, "HP"),
|
||||
DMI_MATCH(DMI_BIOS_VERSION, "P47-"),
|
||||
}},
|
||||
{ hp_ht_bigsmp, "HP ProLiant DL740",
|
||||
{ DMI_MATCH(DMI_BIOS_VENDOR, "HP"),
|
||||
DMI_MATCH(DMI_BIOS_VERSION, "P47-"),}
|
||||
},
|
||||
{ }
|
||||
};
|
||||
|
||||
|
||||
static int probe_bigsmp(void)
|
||||
{
|
||||
{
|
||||
if (def_to_bigsmp)
|
||||
dmi_bigsmp = 1;
|
||||
dmi_bigsmp = 1;
|
||||
else
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue