]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - init/main.c
remove the unused exports of sys_open/sys_read
[linux-2.6-omap-h63xx.git] / init / main.c
index c691f5f7fc27b40ea6b2df39e2fef9ac52b4cd0a..ed9747f00ec4fdf414c0ef5c57e92b2b1f501424 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 */
@@ -826,7 +833,6 @@ static int __init kernel_init(void * unused)
         */
        init_pid_ns.child_reaper = current;
 
-       __set_special_pids(1, 1);
        cad_pid = task_pid(current);
 
        smp_prepare_cpus(setup_max_cpus);