diff options
author | Len Brown <len.brown@intel.com> | 2006-06-15 15:35:15 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-15 15:35:15 -0400 |
commit | 61fb46c5b3578fda7cc780e8bc53b3e8f8c1a143 (patch) | |
tree | dd1772adc6c3bd5cd73467009b586fe9d53396da /drivers/acpi/scan.c | |
parent | 59f720eb5a4337b2c4fc0b4c6cfd9c144e492aa8 (diff) | |
parent | eefa27a93a0490902f33837ac86dbcf344b3aa29 (diff) | |
download | op-kernel-dev-61fb46c5b3578fda7cc780e8bc53b3e8f8c1a143.zip op-kernel-dev-61fb46c5b3578fda7cc780e8bc53b3e8f8c1a143.tar.gz |
Pull cpu-hotplug into release branch
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index a0ab828..95d5bc2 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -441,10 +441,7 @@ 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); + result = acpi_bus_trim(device, 1); if (!result) result = acpi_eject_operation(handle, islockable); |