aboutsummaryrefslogtreecommitdiff
path: root/hw/p7ioc-phb.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-07 11:49:54 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-08 16:37:07 +1000
commit63bbcd4568d85291df0b954608a9d5ea1142bc45 (patch)
tree97a10e4c57de2c6c28482652a151bc7d28d7372d /hw/p7ioc-phb.c
parent6480d96563482066557460e85d9113d4cbea7540 (diff)
downloadskiboot-63bbcd4568d85291df0b954608a9d5ea1142bc45.zip
skiboot-63bbcd4568d85291df0b954608a9d5ea1142bc45.tar.gz
skiboot-63bbcd4568d85291df0b954608a9d5ea1142bc45.tar.bz2
pci: get_reserved_pe_number() needs to take the PHB as argument
The value might be different for different PHB instances Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/p7ioc-phb.c')
-rw-r--r--hw/p7ioc-phb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/p7ioc-phb.c b/hw/p7ioc-phb.c
index 98ecb56..96554c8 100644
--- a/hw/p7ioc-phb.c
+++ b/hw/p7ioc-phb.c
@@ -1635,7 +1635,7 @@ static uint8_t p7ioc_choose_bus(struct phb *phb __unused,
return al;
}
-static int64_t p7ioc_get_reserved_pe_number(void)
+static int64_t p7ioc_get_reserved_pe_number(struct phb *phb __unused)
{
return 127;
}