svn commit: r309048 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Wed Nov 23 09:38:12 UTC 2016
Author: andrew
Date: Wed Nov 23 09:38:10 2016
New Revision: 309048
URL: https://svnweb.freebsd.org/changeset/base/309048
Log:
Mark cpu_find_cpu0_fdt as FDT only. It's only called when this is set, and
the kernel is using FDT.
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 Wed Nov 23 09:37:02 2016 (r309047)
+++ head/sys/arm64/arm64/mp_machdep.c Wed Nov 23 09:38:10 2016 (r309048)
@@ -511,6 +511,7 @@ cpu_mp_announce(void)
{
}
+#ifdef FDT
static boolean_t
cpu_find_cpu0_fdt(u_int id, phandle_t node, u_int addr_size, pcell_t *reg)
{
@@ -531,6 +532,7 @@ cpu_find_cpu0_fdt(u_int id, phandle_t no
return (TRUE);
}
+#endif
void
cpu_mp_setmaxid(void)
More information about the svn-src-all
mailing list