aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/processor_pdc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/processor_pdc.c b/drivers/acpi/processor_pdc.c
index b416c32dda04..931e735e9e37 100644
--- a/drivers/acpi/processor_pdc.c
+++ b/drivers/acpi/processor_pdc.c
@@ -69,6 +69,9 @@ static int acpi_processor_eval_pdc(struct acpi_processor *pr)
69 69
70void acpi_processor_set_pdc(struct acpi_processor *pr) 70void acpi_processor_set_pdc(struct acpi_processor *pr)
71{ 71{
72 if (arch_has_acpi_pdc() == false)
73 return;
74
72 arch_acpi_processor_init_pdc(pr); 75 arch_acpi_processor_init_pdc(pr);
73 acpi_processor_eval_pdc(pr); 76 acpi_processor_eval_pdc(pr);
74 arch_acpi_processor_cleanup_pdc(pr); 77 arch_acpi_processor_cleanup_pdc(pr);