]> err.no Git - linux-2.6/blobdiff - drivers/acpi/scan.c
[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc...
[linux-2.6] / drivers / acpi / scan.c
index 337d49b5564bb6130a712d84eb854d5d586aba06..cbcda30c172dd1876b4f5928c59d20ae0c610132 100644 (file)
@@ -1061,13 +1061,15 @@ acpi_add_single_object (
        /*
         * 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) {