Merge branches 'acpi-bus', 'acpi-pci', 'acpica' and 'acpi-doc'
[linux-2.6-block.git] / drivers / acpi / bus.c
index 64a3fb0bf1885ec430bd68de6369281b4d2ee7e8..cb9558eb1e4f43d58f7052589dc1af445723d330 100644 (file)
@@ -1037,6 +1037,13 @@ void __init acpi_subsystem_init(void)
        }
 }
 
+static acpi_status acpi_bus_table_handler(u32 event, void *table, void *context)
+{
+       acpi_scan_table_handler(event, table, context);
+
+       return acpi_sysfs_table_handler(event, table, context);
+}
+
 static int __init acpi_bus_init(void)
 {
        int result;
@@ -1090,6 +1097,8 @@ static int __init acpi_bus_init(void)
         * _PDC control method may load dynamic SSDT tables,
         * and we need to install the table handler before that.
         */
+       status = acpi_install_table_handler(acpi_bus_table_handler, NULL);
+
        acpi_sysfs_init();
 
        acpi_early_processor_set_pdc();