diff options
Diffstat (limited to 'drivers/acpi/processor_core.c')
-rw-r--r-- | drivers/acpi/processor_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 0c561c571f2..1278aca96fe 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -748,7 +748,7 @@ int acpi_processor_device_add(acpi_handle handle, struct acpi_device **device) | |||
748 | return_VALUE(-ENODEV); | 748 | return_VALUE(-ENODEV); |
749 | 749 | ||
750 | if ((pr->id >= 0) && (pr->id < NR_CPUS)) { | 750 | if ((pr->id >= 0) && (pr->id < NR_CPUS)) { |
751 | kobject_hotplug(&(*device)->kobj, KOBJ_ONLINE); | 751 | kobject_uevent(&(*device)->kobj, KOBJ_ONLINE); |
752 | } | 752 | } |
753 | return_VALUE(0); | 753 | return_VALUE(0); |
754 | } | 754 | } |
@@ -788,13 +788,13 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data) | |||
788 | } | 788 | } |
789 | 789 | ||
790 | if (pr->id >= 0 && (pr->id < NR_CPUS)) { | 790 | if (pr->id >= 0 && (pr->id < NR_CPUS)) { |
791 | kobject_hotplug(&device->kobj, KOBJ_OFFLINE); | 791 | kobject_uevent(&device->kobj, KOBJ_OFFLINE); |
792 | break; | 792 | break; |
793 | } | 793 | } |
794 | 794 | ||
795 | result = acpi_processor_start(device); | 795 | result = acpi_processor_start(device); |
796 | if ((!result) && ((pr->id >= 0) && (pr->id < NR_CPUS))) { | 796 | if ((!result) && ((pr->id >= 0) && (pr->id < NR_CPUS))) { |
797 | kobject_hotplug(&device->kobj, KOBJ_ONLINE); | 797 | kobject_uevent(&device->kobj, KOBJ_ONLINE); |
798 | } else { | 798 | } else { |
799 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 799 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, |
800 | "Device [%s] failed to start\n", | 800 | "Device [%s] failed to start\n", |
@@ -818,7 +818,7 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data) | |||
818 | } | 818 | } |
819 | 819 | ||
820 | if ((pr->id < NR_CPUS) && (cpu_present(pr->id))) | 820 | if ((pr->id < NR_CPUS) && (cpu_present(pr->id))) |
821 | kobject_hotplug(&device->kobj, KOBJ_OFFLINE); | 821 | kobject_uevent(&device->kobj, KOBJ_OFFLINE); |
822 | break; | 822 | break; |
823 | default: | 823 | default: |
824 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 824 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |