aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2010-02-22 14:11:34 -0500
committerLen Brown <len.brown@intel.com>2010-03-14 21:17:21 -0400
commit3b1da4c5d1032ebc29fec8bd8f592ba6589be8ed (patch)
treeb6853cbdea5739beff77b4503dd9734c63e85ee1 /drivers/acpi
parent5d554a7bb0643a6151a84319bfeba8270bf5269e (diff)
ACPI: processor: remove early _PDC optin quirks
Now that we check for physically present processors before blindly evaluating _PDC, we no longer need to maintain a DMI opt-in table nor a kernel param. Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_core.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index f0c68c1b86dd..ef34faad6003 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -341,36 +341,6 @@ void acpi_processor_set_pdc(acpi_handle handle)
341} 341}
342EXPORT_SYMBOL_GPL(acpi_processor_set_pdc); 342EXPORT_SYMBOL_GPL(acpi_processor_set_pdc);
343 343
344static int early_pdc_optin;
345static int set_early_pdc_optin(const struct dmi_system_id *id)
346{
347 early_pdc_optin = 1;
348 return 0;
349}
350
351static int param_early_pdc_optin(char *s)
352{
353 early_pdc_optin = 1;
354 return 1;
355}
356__setup("acpi_early_pdc_eval", param_early_pdc_optin);
357
358static struct dmi_system_id __cpuinitdata early_pdc_optin_table[] = {
359 {
360 set_early_pdc_optin, "HP Envy", {
361 DMI_MATCH(DMI_BIOS_VENDOR, "Hewlett-Packard"),
362 DMI_MATCH(DMI_PRODUCT_NAME, "HP Envy") }, NULL},
363 {
364 set_early_pdc_optin, "HP Pavilion dv6", {
365 DMI_MATCH(DMI_BIOS_VENDOR, "Hewlett-Packard"),
366 DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv6") }, NULL},
367 {
368 set_early_pdc_optin, "HP Pavilion dv7", {
369 DMI_MATCH(DMI_BIOS_VENDOR, "Hewlett-Packard"),
370 DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv7") }, NULL},
371 {},
372};
373
374static acpi_status 344static acpi_status
375early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv) 345early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv)
376{ 346{
@@ -396,13 +366,6 @@ void __init acpi_early_processor_set_pdc(void)
396 */ 366 */
397 dmi_check_system(processor_idle_dmi_table); 367 dmi_check_system(processor_idle_dmi_table);
398 368
399 /*
400 * Allow systems to opt-in to early _PDC evaluation.
401 */
402 dmi_check_system(early_pdc_optin_table);
403 if (!early_pdc_optin)
404 return;
405
406 acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT, 369 acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT,
407 ACPI_UINT32_MAX, 370 ACPI_UINT32_MAX,
408 early_init_pdc, NULL, NULL, NULL); 371 early_init_pdc, NULL, NULL, NULL);