Subject: Re: cpu_intr_p() does not exist for all ports
To: Izumi Tsutsui <email@example.com>
From: Michael Lorenz <macallan@NetBSD.org>
Date: 12/06/2007 08:39:31
-----BEGIN PGP SIGNED MESSAGE-----
On Dec 6, 2007, at 07:18, Izumi Tsutsui wrote:
> macallan@NetBSD.org 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
> Why don't you implement MD cpu_intr_p() functions by yourself?
> (I think Andrew should focus on his own work..)
If it's trivial enough I will. I had other things to do so I didn't
> Even a dummy cpu_intr_p() (which returns always false) is better
> than disabling the assertion among all ports.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----