summaryrefslogtreecommitdiffstats
path: root/linux/drivers/soc/fsl/qbman/qman_portal.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/soc/fsl/qbman/qman_portal.c')
-rw-r--r--linux/drivers/soc/fsl/qbman/qman_portal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/soc/fsl/qbman/qman_portal.c b/linux/drivers/soc/fsl/qbman/qman_portal.c
index 1fbcb5ff..c0248e52 100644
--- a/linux/drivers/soc/fsl/qbman/qman_portal.c
+++ b/linux/drivers/soc/fsl/qbman/qman_portal.c
@@ -486,7 +486,7 @@ qman_sysinit_portals(void)
const char *fdt = bsp_fdt_get();
struct device_node dn;
const char *name;
- int cpu_count = (int)rtems_get_processor_count();
+ int cpu_count = (int)rtems_scheduler_get_processor_maximum();
int i;
int node;