diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-02-10 23:45:10 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-02-11 01:17:32 -0500 |
commit | d1c29465b8a52d8fc5a59aac92c6b206b69fe631 (patch) | |
tree | 5e1de4fbc947d5ee0324dada94e52f1a0eedba91 | |
parent | 48fd6b71d60ef66ef2d791045d750168c0d09201 (diff) |
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>
-rw-r--r-- | arch/x86/lguest/boot.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c index c1c1544b8485..47ec7f201d27 100644 --- a/arch/x86/lguest/boot.c +++ b/arch/x86/lguest/boot.c | |||
@@ -1400,14 +1400,6 @@ __init void lguest_init(void) | |||
1400 | atomic_notifier_chain_register(&panic_notifier_list, &paniced); | 1400 | atomic_notifier_chain_register(&panic_notifier_list, &paniced); |
1401 | 1401 | ||
1402 | /* | 1402 | /* |
1403 | * The IDE code spends about 3 seconds probing for disks: if we reserve | ||
1404 | * all the I/O ports up front it can't get them and so doesn't probe. | ||
1405 | * Other device drivers are similar (but less severe). This cuts the | ||
1406 | * kernel boot time on my machine from 4.1 seconds to 0.45 seconds. | ||
1407 | */ | ||
1408 | paravirt_disable_iospace(); | ||
1409 | |||
1410 | /* | ||
1411 | * This is messy CPU setup stuff which the native boot code does before | 1403 | * This is messy CPU setup stuff which the native boot code does before |
1412 | * start_kernel, so we have to do, too: | 1404 | * start_kernel, so we have to do, too: |
1413 | */ | 1405 | */ |