From: Keiichiro Tokunaga Date: Thu, 31 Mar 2005 04:15:47 +0000 (-0500) Subject: [ACPI] hotplug Processor consideration in acpi_bus_add() X-Git-Tag: v2.6.13-rc3~10^2^2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6940fabaa35b893163b7043d0d1dc5d715f9e1ca;p=linux-2.6 [ACPI] hotplug Processor consideration in acpi_bus_add() Signed-off-by: Keiichiro Tokunaga Signed-off-by: Len Brown --- diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 119c94093a..7c26fed0bd 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1051,13 +1051,15 @@ acpi_bus_add ( /* * Status * ------ - * See if the device is present. We always assume that non-Device() - * objects (e.g. thermal zones, power resources, processors, etc.) are - * present, functioning, etc. (at least when parent object is present). - * Note that _STA has a different meaning for some objects (e.g. - * power resources) so we need to be careful how we use it. + * See if the device is present. We always assume that non-Device + * and non-Processor objects (e.g. thermal zones, power resources, + * etc.) are present, functioning, etc. (at least when parent object + * is present). Note that _STA has a different meaning for some + * objects (e.g. power resources) so we need to be careful how we use + * it. */ switch (type) { + case ACPI_BUS_TYPE_PROCESSOR: case ACPI_BUS_TYPE_DEVICE: result = acpi_bus_get_status(device); if (ACPI_FAILURE(result) || !device->status.present) {