Unbreak ofwdump build by moving the pcell_t definition to after the kernel
types headers, and inside the _KERNEL ifdef. Pointy hat to: me
This commit is contained in:
parent
216d58bbcc
commit
79b45ec57c
@ -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>
|
||||
@ -82,6 +76,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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user