Make acpi_processor_add() pass the ACPI handle of the processor
namespace object to acpi_bind_one() instead of setting it directly
to allow acpi_bind_one() to catch possible bugs causing the ACPI
handle of the processor device to be set earlier.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
per_cpu(processors, pr->id) = pr;
dev = get_cpu_device(pr->id);
- ACPI_HANDLE_SET(dev, pr->handle);
- result = acpi_bind_one(dev, NULL);
+ result = acpi_bind_one(dev, pr->handle);
if (result)
goto err;