From: Benjamin Herrenschmidt Date: Thu, 20 Dec 2007 03:54:58 +0000 (+1100) Subject: [POWERPC] Clear pci_probe_only on 64 bits PowerMac X-Git-Tag: firefly_0821_release~23624^2~238 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=295f83e7aaa87d52b8d16077225a90dab61df45a;p=firefly-linux-kernel-4.4.55.git [POWERPC] Clear pci_probe_only on 64 bits PowerMac It should now be safe to re-assign unassigned resources on 64 bits PowerMac machines (G5s). This clears pci_probe_only on those. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/powermac/pci.c b/arch/powerpc/platforms/powermac/pci.c index 96a2933a15b5..73deace0ec01 100644 --- a/arch/powerpc/platforms/powermac/pci.c +++ b/arch/powerpc/platforms/powermac/pci.c @@ -1041,8 +1041,8 @@ void __init pmac_pci_init(void) } /* pmac_check_ht_link(); */ - /* Tell pci.c to not use the common resource allocation mechanism */ - pci_probe_only = 1; + /* We can allocate missing resources if any */ + pci_probe_only = 0; #else /* CONFIG_PPC64 */ init_p2pbridge();