Date: Sun, 3 Dec 2017 04:54:54 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326486 - in head/stand: ofw/libofw powerpc/boot1.chrp Message-ID: <201712030454.vB34ssem056112@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712030454.vB34ssem056112>