mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 13:22:55 +00:00
lguest: don't disable iospace.
This no longer speeds up boot (IDE got better, I guess), but it does stop us probing for a PCI bus. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
48fd6b71d6
commit
d1c29465b8
@ -1399,14 +1399,6 @@ __init void lguest_init(void)
|
|||||||
/* Hook in our special panic hypercall code. */
|
/* Hook in our special panic hypercall code. */
|
||||||
atomic_notifier_chain_register(&panic_notifier_list, &paniced);
|
atomic_notifier_chain_register(&panic_notifier_list, &paniced);
|
||||||
|
|
||||||
/*
|
|
||||||
* The IDE code spends about 3 seconds probing for disks: if we reserve
|
|
||||||
* all the I/O ports up front it can't get them and so doesn't probe.
|
|
||||||
* Other device drivers are similar (but less severe). This cuts the
|
|
||||||
* kernel boot time on my machine from 4.1 seconds to 0.45 seconds.
|
|
||||||
*/
|
|
||||||
paravirt_disable_iospace();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is messy CPU setup stuff which the native boot code does before
|
* This is messy CPU setup stuff which the native boot code does before
|
||||||
* start_kernel, so we have to do, too:
|
* start_kernel, so we have to do, too:
|
||||||
|
Loading…
Reference in New Issue
Block a user