]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - init/main.c
Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6
[mv-sheeva.git] / init / main.c
index c691f5f7fc27b40ea6b2df39e2fef9ac52b4cd0a..2a78932f6c075abd36b331db09191b785d3156bc 100644 (file)
@@ -102,6 +102,12 @@ static inline void mark_rodata_ro(void) { }
 extern void tc_init(void);
 #endif
 
+#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
+extern int populate_rootfs(void);
+#else
+static inline void populate_rootfs(void) {}
+#endif
+
 enum system_states system_state;
 EXPORT_SYMBOL(system_state);
 
@@ -648,6 +654,7 @@ asmlinkage void __init start_kernel(void)
 
        check_bugs();
 
+       populate_rootfs(); /* For DSDT override from initramfs */
        acpi_early_init(); /* before LAPIC and SMP init */
 
        /* Do the rest non-__init'ed, we're now alive */