diff options
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index aabb98832ba6..058f13cf3b79 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
@@ -353,7 +353,7 @@ int acpi_processor_notify_smm(struct module *calling_module) | |||
353 | is_done = -EIO; | 353 | is_done = -EIO; |
354 | 354 | ||
355 | /* Can't write pstate_control to smi_command if either value is zero */ | 355 | /* Can't write pstate_control to smi_command if either value is zero */ |
356 | if ((!acpi_fadt.smi_command) || (!acpi_fadt.pstate_control)) { | 356 | if ((!acpi_gbl_FADT.smi_command) || (!acpi_gbl_FADT.pstate_control)) { |
357 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No SMI port or pstate_control\n")); | 357 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No SMI port or pstate_control\n")); |
358 | module_put(calling_module); | 358 | module_put(calling_module); |
359 | return 0; | 359 | return 0; |
@@ -361,15 +361,15 @@ int acpi_processor_notify_smm(struct module *calling_module) | |||
361 | 361 | ||
362 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 362 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
363 | "Writing pstate_control [0x%x] to smi_command [0x%x]\n", | 363 | "Writing pstate_control [0x%x] to smi_command [0x%x]\n", |
364 | acpi_fadt.pstate_control, acpi_fadt.smi_command)); | 364 | acpi_gbl_FADT.pstate_control, acpi_gbl_FADT.smi_command)); |
365 | 365 | ||
366 | status = acpi_os_write_port(acpi_fadt.smi_command, | 366 | status = acpi_os_write_port(acpi_gbl_FADT.smi_command, |
367 | (u32) acpi_fadt.pstate_control, 8); | 367 | (u32) acpi_gbl_FADT.pstate_control, 8); |
368 | if (ACPI_FAILURE(status)) { | 368 | if (ACPI_FAILURE(status)) { |
369 | ACPI_EXCEPTION((AE_INFO, status, | 369 | ACPI_EXCEPTION((AE_INFO, status, |
370 | "Failed to write pstate_control [0x%x] to " | 370 | "Failed to write pstate_control [0x%x] to " |
371 | "smi_command [0x%x]", acpi_fadt.pstate_control, | 371 | "smi_command [0x%x]", acpi_gbl_FADT.pstate_control, |
372 | acpi_fadt.smi_command)); | 372 | acpi_gbl_FADT.smi_command)); |
373 | module_put(calling_module); | 373 | module_put(calling_module); |
374 | return status; | 374 | return status; |
375 | } | 375 | } |