[PATCH] i386: Only call unreachable_devices() when type 1 is available.
authorOlivier Galibert <galibert@pobox.com>
Tue, 13 Feb 2007 12:26:20 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:20 +0000 (13:26 +0100)
commit5f027387bbdb5a4a4c1babd557fd976cd09d7495
treebb63f9bc5e90b175a466f9deda226088219e726c
parentb78673944b22b662b270c8bba5c198f19e4ee4e1
[PATCH] i386: Only call unreachable_devices() when type 1 is available.

unreachable_devices compares between the results of pci configuration accesses
through type1 and mmconfig, so it should be called only if type1 actually
works in the first place.

Signed-off-by: Olivier Galibert <galibert@pobox.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/i386/pci/mmconfig-shared.c