aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_perflib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r--drivers/acpi/processor_perflib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index 80c251ec6d2a..e5c457b45f2b 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -524,13 +524,13 @@ static int acpi_processor_get_psd(struct acpi_processor *pr)
524 524
525 psd = buffer.pointer; 525 psd = buffer.pointer;
526 if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) { 526 if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) {
527 ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid _PSD data\n")); 527 printk(KERN_ERR PREFIX "Invalid _PSD data\n");
528 result = -EFAULT; 528 result = -EFAULT;
529 goto end; 529 goto end;
530 } 530 }
531 531
532 if (psd->package.count != 1) { 532 if (psd->package.count != 1) {
533 ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid _PSD data\n")); 533 printk(KERN_ERR PREFIX "Invalid _PSD data\n");
534 result = -EFAULT; 534 result = -EFAULT;
535 goto end; 535 goto end;
536 } 536 }
@@ -543,19 +543,19 @@ static int acpi_processor_get_psd(struct acpi_processor *pr)
543 status = acpi_extract_package(&(psd->package.elements[0]), 543 status = acpi_extract_package(&(psd->package.elements[0]),
544 &format, &state); 544 &format, &state);
545 if (ACPI_FAILURE(status)) { 545 if (ACPI_FAILURE(status)) {
546 ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid _PSD data\n")); 546 printk(KERN_ERR PREFIX "Invalid _PSD data\n");
547 result = -EFAULT; 547 result = -EFAULT;
548 goto end; 548 goto end;
549 } 549 }
550 550
551 if (pdomain->num_entries != ACPI_PSD_REV0_ENTRIES) { 551 if (pdomain->num_entries != ACPI_PSD_REV0_ENTRIES) {
552 ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Unknown _PSD:num_entries\n")); 552 printk(KERN_ERR PREFIX "Unknown _PSD:num_entries\n");
553 result = -EFAULT; 553 result = -EFAULT;
554 goto end; 554 goto end;
555 } 555 }
556 556
557 if (pdomain->revision != ACPI_PSD_REV0_REVISION) { 557 if (pdomain->revision != ACPI_PSD_REV0_REVISION) {
558 ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Unknown _PSD:revision\n")); 558 printk(KERN_ERR PREFIX "Unknown _PSD:revision\n");
559 result = -EFAULT; 559 result = -EFAULT;
560 goto end; 560 goto end;
561 } 561 }