Date: Tue, 29 Nov 2016 13:32:23 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309296 - head/sys/arm64/arm64 Message-ID: <201611291332.uATDWNEf069783@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue Nov 29 13:32:23 2016 New Revision: 309296 URL: https://svnweb.freebsd.org/changeset/base/309296 Log: We only use the cpu0 variable in the FDT code. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/mp_machdep.c Modified: head/sys/arm64/arm64/mp_machdep.c ============================================================================== --- head/sys/arm64/arm64/mp_machdep.c Tue Nov 29 13:11:00 2016 (r309295) +++ head/sys/arm64/arm64/mp_machdep.c Tue Nov 29 13:32:23 2016 (r309296) @@ -106,12 +106,14 @@ struct pcb stoppcbs[MAXCPU]; static device_t cpu_list[MAXCPU]; +#ifdef FDT /* * Not all systems boot from the first CPU in the device tree. To work around * this we need to find which CPU we have booted from so when we later * enable the secondary CPUs we skip this one. */ static int cpu0 = -1; +#endif void mpentry(unsigned long cpuid); void init_secondary(uint64_t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611291332.uATDWNEf069783>