x86: Add probe_roms to x86_init

probe_roms is only used on 32bit. Add it to the x86_init ops and
remove the #ifdefs.

Default initializer is x86_init_noop() which is overridden in
the 32bit boot code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2009-08-19 14:43:56 +02:00
parent 57844a8f8e
commit f7cf5a5b8c
4 changed files with 18 additions and 3 deletions

View File

@@ -29,6 +29,9 @@ void __init i386_start_kernel(void)
reserve_early(ramdisk_image, ramdisk_end, "RAMDISK");
}
#endif
/* Initilize 32bit specific setup functions */
x86_init.resources.probe_roms = probe_roms;
reserve_ebda_region();
/*