Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eefa27a9 authored by Ashok Raj's avatar Ashok Raj Committed by Len Brown
Browse files

ACPI: Allow hot-add of ejected processor



acpi_eject_store() didn't trim processors, causing subsequent
hot-add to fail.

Signed-off-by: default avatarAshok Raj <ashok.raj@intel.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 683aa401
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -441,9 +441,6 @@ acpi_eject_store(struct acpi_device *device, const char *buf, size_t count)
	islockable = device->flags.lockable;
	handle = device->handle;

	if (type == ACPI_TYPE_PROCESSOR)
		result = acpi_bus_trim(device, 0);
	else
	result = acpi_bus_trim(device, 1);

	if (!result)