Date: Wed, 23 Nov 2016 09:38:10 +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: r309048 - head/sys/arm64/arm64 Message-ID: <201611230938.uAN9cARj049174@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611230938.uAN9cARj049174>