From owner-svn-src-head@freebsd.org Sun Dec 3 04:54:56 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FBF9DEDFEB; Sun, 3 Dec 2017 04:54:56 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F10A86A839; Sun, 3 Dec 2017 04:54:55 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB34stXM056115; Sun, 3 Dec 2017 04:54:55 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB34ssem056112; Sun, 3 Dec 2017 04:54:54 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201712030454.vB34ssem056112@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sun, 3 Dec 2017 04:54:54 +0000 (UTC) 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 X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: in head/stand: ofw/libofw powerpc/boot1.chrp X-SVN-Commit-Revision: 326486 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 04:54:56 -0000 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 #include +#if defined(__powerpc__) +#include +#endif #include 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 #include +#include #include 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 #include #include +#include #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