mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
ACPI: processor: add kernel command line support for early _PDC eval
Allow platforms not listed in DMI table to opt-in and evaluate _PDC early. Signed-off-by: Alex Chiang <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
92dcffb916
commit
0406ad336c
2 changed files with 11 additions and 0 deletions
|
|
@ -151,6 +151,13 @@ static int set_early_pdc_optin(const struct dmi_system_id *id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int param_early_pdc_optin(char *s)
|
||||
{
|
||||
early_pdc_optin = 1;
|
||||
return 1;
|
||||
}
|
||||
__setup("acpi_early_pdc_eval", param_early_pdc_optin);
|
||||
|
||||
static struct dmi_system_id __cpuinitdata early_pdc_optin_table[] = {
|
||||
{
|
||||
set_early_pdc_optin, "HP Envy", {
|
||||
|
|
|
|||
Loading…
Reference in a new issue