summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-02-26 15:54:34 +0000
committerandrew <andrew@FreeBSD.org>2016-02-26 15:54:34 +0000
commitb249af7af96e3362a250b1569969780f3c43d21d (patch)
treec66664c430ecdf3ef5dd8e284d0edbb76b55aee5 /sys/arm/mv
parentc7c518e5f0e64f7849df142f0b24e2a883348bbd (diff)
downloadFreeBSD-src-b249af7af96e3362a250b1569969780f3c43d21d.zip
FreeBSD-src-b249af7af96e3362a250b1569969780f3c43d21d.tar.gz
Remove platform_mp_probe as it's almost identical on most ARM SoCs, and
slightly wrong on the others. We should just check if mp_ncpus is set to more than one CPU as we may wish to run on a single core even when SMP is available. Reviewed by: ian Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5458
Diffstat (limited to 'sys/arm/mv')
-rw-r--r--sys/arm/mv/armada38x/armada38x_mp.c7
-rw-r--r--sys/arm/mv/armadaxp/armadaxp_mp.c7
2 files changed, 0 insertions, 14 deletions
diff --git a/sys/arm/mv/armada38x/armada38x_mp.c b/sys/arm/mv/armada38x/armada38x_mp.c
index 8c8e7ae..b7cf3ef 100644
--- a/sys/arm/mv/armada38x/armada38x_mp.c
+++ b/sys/arm/mv/armada38x/armada38x_mp.c
@@ -130,13 +130,6 @@ platform_mp_setmaxid(void)
mp_maxid = 1;
}
-int
-platform_mp_probe(void)
-{
-
- return (mp_ncpus > 1);
-}
-
void
platform_mp_init_secondary(void)
{
diff --git a/sys/arm/mv/armadaxp/armadaxp_mp.c b/sys/arm/mv/armadaxp/armadaxp_mp.c
index 0358d11..fd00522 100644
--- a/sys/arm/mv/armadaxp/armadaxp_mp.c
+++ b/sys/arm/mv/armadaxp/armadaxp_mp.c
@@ -87,13 +87,6 @@ platform_mp_setmaxid(void)
mp_maxid = mp_ncpus - 1;
}
-int
-platform_mp_probe(void)
-{
-
- return (mp_ncpus > 1);
-}
-
void
platform_mp_init_secondary(void)
{
OpenPOWER on IntegriCloud