Date: Mon, 15 Dec 2008 18:20:59 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186133 - head/sys/dev/ofw Message-ID: <200812151820.mBFIKx0g011748@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/cdefs.h> #include <sys/types.h> @@ -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 *));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812151820.mBFIKx0g011748>