Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure for evbarm ifpga_intr.h



On Mon, Apr 27, 2009 at 05:19:08PM -0500, David Young wrote:

> IIUC, Izumi Tsutsui suggests fixing the circular dependency by
> relocating the definition of ipl_cookie_t from <machine/intr.h> to
> (just for example) <machine/types.h> and eliminating the #include
> <machine/intr.h> from <sys/mutex.h>.  Sounds ok to me.

IPL_* constants are needed for mutex_init(). All this pain is due to intr.h
including cpu.h because of inlines, or something like that, right? Is there
a problem with making the inlines functions proper?


Home | Main Index | Thread Index | Old Index