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
This commit is contained in:
Andrew Turner 2016-11-23 09:38:10 +00:00
parent 07ec266234
commit 925f047fdc

View File

@ -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 node, u_int addr_size, pcell_t *reg)
return (TRUE);
}
#endif
void
cpu_mp_setmaxid(void)