On 01/21/2010 09:18 AM, Christian Hofstaedtler wrote: > Unify x86_32-only and x86_32+x86_64 reboot quirks selection functions, > so the code path is a bit easier to understand and gets a predefined > execution order. > > -static struct dmi_system_id __initdata reboot_dmi_table[] = { > +/* > + * This table only gets used on x86_32, so only use with > + * set_bios_reboot. > + */ > +static struct dmi_system_id __initdata reboot_dmi_table_x86_32[] = { > { /* Handle problems with rebooting on Dell E520's */ > .callback = set_bios_reboot, > .ident = "Dell E520", > @@ -270,13 +274,6 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = { > { } > }; > I think it would make more sense to just #ifdef off a section of a single table, instead of having an #ifdef for a separate table and an #ifdef for a table entry. I don't know how big these tables are -- this is initdata after all, so unless the tables are really small, we could just make set_bios_reboot a noop on x86-64. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html