From owner-svn-src-all@FreeBSD.ORG Mon Dec 15 18:20:59 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB9D0106564A; Mon, 15 Dec 2008 18:20:59 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 672AF8FC18; Mon, 15 Dec 2008 18:20:59 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBFIKxgB011749; Mon, 15 Dec 2008 18:20:59 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBFIKx0g011748; Mon, 15 Dec 2008 18:20:59 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <200812151820.mBFIKx0g011748@svn.freebsd.org> From: Nathan Whitehorn Date: Mon, 15 Dec 2008 18:20:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186133 - head/sys/dev/ofw X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 18:20:59 -0000 Author: nwhitehorn Date: Mon Dec 15 18:20:59 2008 New Revision: 186133 URL: http://svn.freebsd.org/changeset/base/186133 Log: Unbreak ofwdump build by moving the pcell_t definition to after the kernel types headers, and inside the _KERNEL ifdef. Pointy hat to: me Modified: head/sys/dev/ofw/openfirm.h Modified: head/sys/dev/ofw/openfirm.h ============================================================================== --- head/sys/dev/ofw/openfirm.h Mon Dec 15 17:11:40 2008 (r186132) +++ head/sys/dev/ofw/openfirm.h Mon Dec 15 18:20:59 2008 (r186133) @@ -69,12 +69,6 @@ typedef unsigned long cell_t; typedef unsigned int ihandle_t; typedef unsigned int phandle_t; -/* - * Other than in Open Firmware calls, the size of a bus cell seems to be - * always the same. - */ -typedef u_int32_t pcell_t; - #ifdef _KERNEL #include #include @@ -83,6 +77,12 @@ typedef u_int32_t pcell_t; MALLOC_DECLARE(M_OFWPROP); /* + * Other than in Open Firmware calls, the size of a bus cell seems to be + * always the same. + */ +typedef u_int32_t pcell_t; + +/* * Stuff that is used by the Open Firmware code. */ void set_openfirm_callback(int (*)(void *));