# This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2005/03/30 23:15:47-05:00 len.brown@intel.com # [ACPI] hotplug Processor consideration in acpi_bus_add() # # Signed-off-by: Keiichiro Tokunaga # Signed-off-by: Len Brown # # drivers/acpi/scan.c # 2005/03/27 01:51:44-05:00 len.brown@intel.com +7 -5 # This is to add CPU hotplug consideration to acpi_bus_add() # that now assumes processor objects are always present, # functioning, etc. at least when parent object is present. # But, CPU hotplug is supported today, so we need to change # the assumption. If a processor object has _STA method, we # should respect it. # Index: linux-2.6.13/drivers/acpi/scan.c =================================================================== --- linux-2.6.13.orig/drivers/acpi/scan.c 2005-07-10 01:01:34.000000000 -0400 +++ linux-2.6.13/drivers/acpi/scan.c 2005-07-10 01:05:12.000000000 -0400 @@ -1061,13 +1061,15 @@ /* * 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) {