Subject: Re: CVS commit: src/sys/arch
To: Geoff Wing <mason@primenet.com.au>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 05/08/2003 12:23:14
On Thu, May 08, 2003 at 04:53:14AM +0000, Geoff Wing wrote:
> : Log Message:
> : Add x86_pause() inline function, containing the "pause" instruction
> : for i386, and nothing for amd64. Sprinkle it in various spinloops,
> : as recommended by Intel.
> 
> Busts on libc. 
>  <pthread_types.h> wants <x86/lock.h> wants x86_pause() which is
>  #ifdef _KERNEL in <machine/cpufunc.h>

Ok, thanks, I fixed it.

- Frank

-- 
Frank van der Linden                                            fvdl@netbsd.org
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms.    http://www.netbsd.org/