Skip to content

Commit 003e069

Browse files
committed
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: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Michal Wilczynski <michal.wilczynski@intel.com>
1 parent 11e7bf5 commit 003e069

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/acpi/acpi_processor.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Copyright (C) 2013, Intel Corporation
1010
* Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1111
*/
12+
#define pr_fmt(fmt) "ACPI: " fmt
1213

1314
#include <linux/acpi.h>
1415
#include <linux/device.h>
@@ -611,9 +612,9 @@ static bool __init acpi_early_processor_osc(void)
611612
void __init acpi_early_processor_control_setup(void)
612613
{
613614
if (acpi_early_processor_osc()) {
614-
pr_info("_OSC evaluated successfully\n");
615+
pr_info("_OSC evaluated successfully for all CPUs\n");
615616
} else {
616-
pr_info("_OSC evaluation failed, trying _PDC\n");
617+
pr_info("_OSC evaluation for CPUs failed, trying _PDC\n");
617618
acpi_early_processor_set_pdc();
618619
}
619620
}

0 commit comments

Comments
 (0)