summaryrefslogtreecommitdiffstats
path: root/sys/arm/altera
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/altera
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/altera')
-rw-r--r--sys/arm/altera/socfpga/socfpga_mp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/arm/altera/socfpga/socfpga_mp.c b/sys/arm/altera/socfpga/socfpga_mp.c
index aab689d..07d5acb 100644
--- a/sys/arm/altera/socfpga/socfpga_mp.c
+++ b/sys/arm/altera/socfpga/socfpga_mp.c
@@ -111,16 +111,6 @@ platform_mp_setmaxid(void)
mp_maxid = ncpu - 1;
}
-int
-platform_mp_probe(void)
-{
-
- if (mp_ncpus == 0)
- platform_mp_setmaxid();
-
- return (mp_ncpus > 1);
-}
-
void
platform_mp_start_ap(void)
{
OpenPOWER on IntegriCloud