Subject: ACPI: avoid printing the info that processor device is not present From: Zhao Yakui <yakui.zhao@xxxxxxxxx> Four processors are defined in the DSDT table, which means that quad-core cpu is supported. But dual-core cpu is installed on the system. In the initialization OS will check whether the defined processor exists. If it doesn't exist, it will print the info that processor device is not present. The above error message has no effect on the system but it will mislead us. So it is unnecessary to print the error message when disabling acpi debug. http://bugzilla.kernel.org/show_bug.cgi?id=8630 Signed-off-by: Zhao Yakui <yakui.zhao@xxxxxxxxx> --- drivers/acpi/processor_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6.23-rc7/drivers/acpi/processor_core.c =================================================================== --- linux-2.6.23-rc7.orig/drivers/acpi/processor_core.c +++ linux-2.6.23-rc7/drivers/acpi/processor_core.c @@ -813,7 +813,9 @@ static int is_processor_present(acpi_han status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); if (ACPI_FAILURE(status) || !(sta & ACPI_STA_DEVICE_PRESENT)) { - ACPI_EXCEPTION((AE_INFO, status, "Processor Device is not present")); + ACPI_DEBUG_PRINT((ACPI_DB_INFO, + "%s :Processor Device is not present", + acpi_format_exception(status))); return 0; } return 1; - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html