Subject: Re: cpu_intr_p() does not exist for all ports
To: None <paul@whooppee.com>
From: Michael Lorenz <macallan@netbsd.org>
List: current-users
Date: 12/05/2007 22:07:45
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 5, 2007, at 20:41, Paul Goyette 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.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBR1dngspnzkX8Yg2nAQJHKwf+JbUD6mfLyhG/BZgYUCSI6EBzmzvCwx4L
b2JwrkciTo5SGiQ9vUALg1by3GVZZFe62TMap3ijO7/Wr2Xj8pm4ymsnzv43R8Kk
R0MPk917N5L0IzhuFPOFba0vspNs0z/LDCTOxrfBqq3qO8mIU21OW4eATZ6OGJCP
ohx5K0SQrn1KVoBlnAmhqR9xgtl/FjoQajqpLjgJQdE5pbhOV+wXA8AgydUQBWlT
4b9Ag9hzqYu8162SPEbQtrOw0JWuTUSBwbTTmtIhWUnjysgx7ERphtl4Pkkxnfq/
rdI7ocMNSfHUrUWe+hEe+f1uHV4c5wHsYDS4HyEYfkxw+ejexr64bQ==
=4OWa
-----END PGP SIGNATURE-----