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)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"