diff options
author | Len Brown <len.brown@intel.com> | 2008-10-22 23:19:51 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-22 23:19:51 -0400 |
commit | bcb631f31839cb7c7dd56ab534b6eb4867e9161b (patch) | |
tree | d86336c9cfb22e4af69fbe73c94299a775ecc220 /drivers/acpi/processor_perflib.c | |
parent | 955ba395616a78780e70dc3f3b0b56ca4db52e5c (diff) | |
parent | ed37a71eac8ba375d85ab10ed5f5e8bdf1cd72e0 (diff) |
Merge branch 'acpica' into test
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index 242f8143008a..b0614f379470 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
@@ -536,13 +536,13 @@ static int acpi_processor_get_psd(struct acpi_processor *pr) | |||
536 | 536 | ||
537 | psd = buffer.pointer; | 537 | psd = buffer.pointer; |
538 | if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) { | 538 | if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) { |
539 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid _PSD data\n")); | 539 | printk(KERN_ERR PREFIX "Invalid _PSD data\n"); |
540 | result = -EFAULT; | 540 | result = -EFAULT; |
541 | goto end; | 541 | goto end; |
542 | } | 542 | } |
543 | 543 | ||
544 | if (psd->package.count != 1) { | 544 | if (psd->package.count != 1) { |
545 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid _PSD data\n")); | 545 | printk(KERN_ERR PREFIX "Invalid _PSD data\n"); |
546 | result = -EFAULT; | 546 | result = -EFAULT; |
547 | goto end; | 547 | goto end; |
548 | } | 548 | } |
@@ -555,19 +555,19 @@ static int acpi_processor_get_psd(struct acpi_processor *pr) | |||
555 | status = acpi_extract_package(&(psd->package.elements[0]), | 555 | status = acpi_extract_package(&(psd->package.elements[0]), |
556 | &format, &state); | 556 | &format, &state); |
557 | if (ACPI_FAILURE(status)) { | 557 | if (ACPI_FAILURE(status)) { |
558 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid _PSD data\n")); | 558 | printk(KERN_ERR PREFIX "Invalid _PSD data\n"); |
559 | result = -EFAULT; | 559 | result = -EFAULT; |
560 | goto end; | 560 | goto end; |
561 | } | 561 | } |
562 | 562 | ||
563 | if (pdomain->num_entries != ACPI_PSD_REV0_ENTRIES) { | 563 | if (pdomain->num_entries != ACPI_PSD_REV0_ENTRIES) { |
564 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Unknown _PSD:num_entries\n")); | 564 | printk(KERN_ERR PREFIX "Unknown _PSD:num_entries\n"); |
565 | result = -EFAULT; | 565 | result = -EFAULT; |
566 | goto end; | 566 | goto end; |
567 | } | 567 | } |
568 | 568 | ||
569 | if (pdomain->revision != ACPI_PSD_REV0_REVISION) { | 569 | if (pdomain->revision != ACPI_PSD_REV0_REVISION) { |
570 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Unknown _PSD:revision\n")); | 570 | printk(KERN_ERR PREFIX "Unknown _PSD:revision\n"); |
571 | result = -EFAULT; | 571 | result = -EFAULT; |
572 | goto end; | 572 | goto end; |
573 | } | 573 | } |