Subject: Re: Can't build ofppc kernels
To: Tim Rightnour <root@garbled.net>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 11/16/2007 01:12:22
On Thu, Nov 15, 2007 at 06:04:44PM -0700, Tim Rightnour wrote:
> I'm assuming some lock structure got changed and powerpc needs to change
> something to keep up. Anyone know what?
This keeps cropping up and it's because of intr.h including cpu.h or
vice-versa. Why is it including machine/cpu.h and sys/device.h below?
Thanks,
Andrew
#ifndef _OFPPC_INTR_H_
#define _OFPPC_INTR_H_
#include <powerpc/intr.h>
#ifndef _LOCORE
#include <machine/cpu.h>
#include <sys/device.h>
#define ICU_LEN 32
#define IRQ_SLAVE 2
extern int imask[];
#endif
#endif /* _OFPPC_INTR_H_ */