diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2016-02-26 15:54:34 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2016-02-26 15:54:34 +0000 |
commit | 3210b875541fc39fca5b4ffa700cd70d99ad0c31 (patch) | |
tree | c66664c430ecdf3ef5dd8e284d0edbb76b55aee5 /sys/arm/rockchip | |
parent | 8265d9164662b2142c1a25c6f222d8760f4aeb94 (diff) | |
download | src-3210b875541fc39fca5b4ffa700cd70d99ad0c31.tar.gz src-3210b875541fc39fca5b4ffa700cd70d99ad0c31.zip |
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
Notes
Notes:
svn path=/head/; revision=296098
Diffstat (limited to 'sys/arm/rockchip')
-rw-r--r-- | sys/arm/rockchip/rk30xx_mp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/arm/rockchip/rk30xx_mp.c b/sys/arm/rockchip/rk30xx_mp.c index 954998fbe3f7..248c548c96dd 100644 --- a/sys/arm/rockchip/rk30xx_mp.c +++ b/sys/arm/rockchip/rk30xx_mp.c @@ -107,16 +107,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) { |