Re: [PATCH] x86, reboot: skip DMI checks if reboot set by user
From: Alan Cox
Date: Thu Jan 19 2012 - 10:44:22 EST
> checking if reboot_type's value is anything other than BOOT_ACPI (which
> is the default), but that does assume BOOT_ACPI is the default. What if
> that's ever changed? Seems likely to me that whoever changes the default
> in the future could very easily re-break this at that point.
>
> Thoughts?
Fair point - how about a BOOT_DEFAULT define value if it hasn't been set
and we can just make it do the same as ACPI in the switch ?
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/