diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2016-11-23 09:38:10 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2016-11-23 09:38:10 +0000 |
commit | 925f047fdce754ca25553b61b256035ed5760709 (patch) | |
tree | 1e8faa2d5c077374ada3f47c7f8638a5ff45a5d8 /sys/arm64/arm64/mp_machdep.c | |
parent | 07ec266234f255e654d042de53c42328cf514e89 (diff) | |
download | src-925f047fdce754ca25553b61b256035ed5760709.tar.gz src-925f047fdce754ca25553b61b256035ed5760709.zip |
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
Notes
Notes:
svn path=/head/; revision=309048
Diffstat (limited to 'sys/arm64/arm64/mp_machdep.c')
-rw-r--r-- | sys/arm64/arm64/mp_machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm64/arm64/mp_machdep.c b/sys/arm64/arm64/mp_machdep.c index 79722016e927..512c69164e68 100644 --- a/sys/arm64/arm64/mp_machdep.c +++ b/sys/arm64/arm64/mp_machdep.c @@ -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) |