Author: imp Date: Sun Dec 3 04:54:54 2017 New Revision: 326486 URL: https://svnweb.freebsd.org/changeset/base/326486
Log: Include machine/md_var to pick up __syncicache prototype. Sponsored by: Netflix Modified: head/stand/ofw/libofw/elf_freebsd.c head/stand/ofw/libofw/ppc64_elf_freebsd.c head/stand/powerpc/boot1.chrp/boot1.c Modified: head/stand/ofw/libofw/elf_freebsd.c ============================================================================== --- head/stand/ofw/libofw/elf_freebsd.c Sun Dec 3 04:54:49 2017 (r326485) +++ head/stand/ofw/libofw/elf_freebsd.c Sun Dec 3 04:54:54 2017 (r326486) @@ -32,6 +32,9 @@ __FBSDID("$FreeBSD$"); #include <machine/metadata.h> #include <machine/elf.h> +#if defined(__powerpc__) +#include <machine/md_var.h> +#endif #include <stand.h> Modified: head/stand/ofw/libofw/ppc64_elf_freebsd.c ============================================================================== --- head/stand/ofw/libofw/ppc64_elf_freebsd.c Sun Dec 3 04:54:49 2017 (r326485) +++ head/stand/ofw/libofw/ppc64_elf_freebsd.c Sun Dec 3 04:54:54 2017 (r326486) @@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$"); #include <machine/metadata.h> #include <machine/elf.h> +#include <machine/md_var.h> #include <stand.h> Modified: head/stand/powerpc/boot1.chrp/boot1.c ============================================================================== --- head/stand/powerpc/boot1.chrp/boot1.c Sun Dec 3 04:54:49 2017 (r326485) +++ head/stand/powerpc/boot1.chrp/boot1.c Sun Dec 3 04:54:54 2017 (r326486) @@ -22,6 +22,7 @@ __FBSDID("$FreeBSD$"); #include <sys/dirent.h> #include <machine/elf.h> #include <machine/stdarg.h> +#include <machine/md_var.h> #include "paths.h" @@ -74,8 +75,6 @@ static int __puts(const char *s, putc_func_t *putc, vo static int __sputc(char c, void *arg); static char *__uitoa(char *buf, u_int val, int base); static char *__ultoa(char *buf, u_long val, int base); - -void __syncicache(void *, int); /* * Open Firmware interface functions _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"