diff options
author | Len Brown <len.brown@intel.com> | 2008-02-07 04:01:53 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 04:01:53 -0500 |
commit | 81e242d0efafb319938d511b115088a5c4523c91 (patch) | |
tree | be22aa41db2288fd7999524d719f333c766a367f /init/main.c | |
parent | a733a5da97b238e3e3167d3d0aee8fe1e8d04e97 (diff) | |
parent | 04d94886b47b5133915021dcfb1108a8576f6ea7 (diff) |
Merge branches 'release' and 'dsdt-override' into release
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index c691f5f7fc2..2a78932f6c0 100644 --- a/init/main.c +++ b/init/main.c @@ -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 */ |