Commit 003e0694 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

ACPI: processor: Refine messages in acpi_early_processor_control_setup()

The source and meaning of the messages printed by
acpi_early_processor_control_setup() is unclear, so add a pr_fmt()
definition to acpi_processor.c and expand the messages to make it
clear that they are about CPUs.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: default avatarMichal Wilczynski <michal.wilczynski@intel.com>
parent 11e7bf56
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
* Copyright (C) 2013, Intel Corporation * Copyright (C) 2013, Intel Corporation
* Rafael J. Wysocki <rafael.j.wysocki@intel.com> * Rafael J. Wysocki <rafael.j.wysocki@intel.com>
*/ */
#define pr_fmt(fmt) "ACPI: " fmt
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/device.h> #include <linux/device.h>
...@@ -611,9 +612,9 @@ static bool __init acpi_early_processor_osc(void) ...@@ -611,9 +612,9 @@ static bool __init acpi_early_processor_osc(void)
void __init acpi_early_processor_control_setup(void) void __init acpi_early_processor_control_setup(void)
{ {
if (acpi_early_processor_osc()) { if (acpi_early_processor_osc()) {
pr_info("_OSC evaluated successfully\n"); pr_info("_OSC evaluated successfully for all CPUs\n");
} else { } else {
pr_info("_OSC evaluation failed, trying _PDC\n"); pr_info("_OSC evaluation for CPUs failed, trying _PDC\n");
acpi_early_processor_set_pdc(); acpi_early_processor_set_pdc();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment