aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/processor_core.c')
-rw-r--r--drivers/acpi/processor_core.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index 2bbdf8a7a304..80bbf187a37d 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -453,7 +453,7 @@ static int acpi_processor_get_info(struct acpi_processor *pr)
453 */ 453 */
454 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); 454 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer);
455 if (ACPI_FAILURE(status)) { 455 if (ACPI_FAILURE(status)) {
456 ACPI_ERROR((AE_INFO, "Evaluating processor object")); 456 printk(KERN_ERR PREFIX "Evaluating processor object\n");
457 return_VALUE(-ENODEV); 457 return_VALUE(-ENODEV);
458 } 458 }
459 459
@@ -483,9 +483,9 @@ static int acpi_processor_get_info(struct acpi_processor *pr)
483 if (cpu_index == -1) { 483 if (cpu_index == -1) {
484 if (ACPI_FAILURE 484 if (ACPI_FAILURE
485 (acpi_processor_hotadd_init(pr->handle, &pr->id))) { 485 (acpi_processor_hotadd_init(pr->handle, &pr->id))) {
486 ACPI_ERROR((AE_INFO, 486 printk(KERN_ERR PREFIX
487 "Getting cpuindex for acpiid 0x%x", 487 "Getting cpuindex for acpiid 0x%x\n",
488 pr->acpi_id)); 488 pr->acpi_id);
489 return_VALUE(-ENODEV); 489 return_VALUE(-ENODEV);
490 } 490 }
491 } 491 }
@@ -496,8 +496,8 @@ static int acpi_processor_get_info(struct acpi_processor *pr)
496 if (!object.processor.pblk_address) 496 if (!object.processor.pblk_address)
497 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No PBLK (NULL address)\n")); 497 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No PBLK (NULL address)\n"));
498 else if (object.processor.pblk_length != 6) 498 else if (object.processor.pblk_length != 6)
499 ACPI_ERROR((AE_INFO, "Invalid PBLK length [%d]", 499 printk(KERN_ERR PREFIX "Invalid PBLK length [%d]\n",
500 object.processor.pblk_length)); 500 object.processor.pblk_length);
501 else { 501 else {
502 pr->throttling.address = object.processor.pblk_address; 502 pr->throttling.address = object.processor.pblk_address;
503 pr->throttling.duty_offset = acpi_fadt.duty_offset; 503 pr->throttling.duty_offset = acpi_fadt.duty_offset;
@@ -751,14 +751,14 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data)
751 if (acpi_bus_get_device(handle, &device)) { 751 if (acpi_bus_get_device(handle, &device)) {
752 result = acpi_processor_device_add(handle, &device); 752 result = acpi_processor_device_add(handle, &device);
753 if (result) 753 if (result)
754 ACPI_ERROR((AE_INFO, 754 printk(KERN_ERR PREFIX
755 "Unable to add the device")); 755 "Unable to add the device\n");
756 break; 756 break;
757 } 757 }
758 758
759 pr = acpi_driver_data(device); 759 pr = acpi_driver_data(device);
760 if (!pr) { 760 if (!pr) {
761 ACPI_ERROR((AE_INFO, "Driver data is NULL")); 761 printk(KERN_ERR PREFIX "Driver data is NULL\n");
762 break; 762 break;
763 } 763 }
764 764
@@ -771,8 +771,8 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data)
771 if ((!result) && ((pr->id >= 0) && (pr->id < NR_CPUS))) { 771 if ((!result) && ((pr->id >= 0) && (pr->id < NR_CPUS))) {
772 kobject_uevent(&device->kobj, KOBJ_ONLINE); 772 kobject_uevent(&device->kobj, KOBJ_ONLINE);
773 } else { 773 } else {
774 ACPI_ERROR((AE_INFO, "Device [%s] failed to start", 774 printk(KERN_ERR PREFIX "Device [%s] failed to start\n",
775 acpi_device_bid(device))); 775 acpi_device_bid(device));
776 } 776 }
777 break; 777 break;
778 case ACPI_NOTIFY_EJECT_REQUEST: 778 case ACPI_NOTIFY_EJECT_REQUEST:
@@ -780,14 +780,14 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data)
780 "received ACPI_NOTIFY_EJECT_REQUEST\n")); 780 "received ACPI_NOTIFY_EJECT_REQUEST\n"));
781 781
782 if (acpi_bus_get_device(handle, &device)) { 782 if (acpi_bus_get_device(handle, &device)) {
783 ACPI_ERROR((AE_INFO, 783 printk(KERN_ERR PREFIX
784 "Device don't exist, dropping EJECT")); 784 "Device don't exist, dropping EJECT\n");
785 break; 785 break;
786 } 786 }
787 pr = acpi_driver_data(device); 787 pr = acpi_driver_data(device);
788 if (!pr) { 788 if (!pr) {
789 ACPI_ERROR((AE_INFO, 789 printk(KERN_ERR PREFIX
790 "Driver data is NULL, dropping EJECT")); 790 "Driver data is NULL, dropping EJECT\n");
791 return_VOID; 791 return_VOID;
792 } 792 }
793 793