Subject: Re: cpu_intr_p() does not exist for all ports
To: None <>
From: Izumi Tsutsui <>
List: current-users
Date: 12/06/2007 21:18:47 wrote:

> > For the last two days, a full release cannot be built for amd64 or  
> > i386 because of compile failure for sys/kern/kern_rwlock.c
> >
> > It seems that the XEN_* kernels want to #define LOCKDEBUG which in  
> > turn causes RW_ASSERT macro to actually do something.  At line 257  
> > in the above file we attempt to call cpu_intr_p() which doesn't  
> > exist for all ports;  it is indeed missing in sources which were  
> > updated via CVS just a few minutes ago.
> For the records - I just ran into the same problem on sparc and sparc64.

Why don't you implement MD cpu_intr_p() functions by yourself?
(I think Andrew should focus on his own work..)

Even a dummy cpu_intr_p() (which returns always false) is better
than disabling the assertion among all ports.
Izumi Tsutsui