[PATCH] ppc64: PCI ignores empty phb regions
commitc7bf597617842118e850ea5210707fbd412440fc
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 26 Oct 2004 00:31:24 +0000 (25 17:31 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 26 Oct 2004 00:31:24 +0000 (25 17:31 -0700)
tree79b57806090e452333f4f1ca4e0d03aa385609f0
parente12a0f08118d0a0a45e2b4f2ba0288ca7b7d1017
[PATCH] ppc64: PCI ignores empty phb regions

The ppc64 PCI code, when parsing the OF tree, may end up getting empty
regions in addition to the "normal" ones for the PHB (some pSeries OF
device-tree contains weird "ranges" properties). These are harmless but
do trigger some annoying warnings during boot, so let's ignore them.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pci.c