Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



Frank van der Linden <fvdl%netbsd.org@localhost> typed:
: Modified Files:
:       src/sys/arch/amd64/include: cpufunc.h
:       src/sys/arch/i386/i386: pmap.c
:       src/sys/arch/i386/include: cpufunc.h
:       src/sys/arch/x86/include: lock.h
:       src/sys/arch/x86/x86: lapic.c
: 
: 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>

Regards,
Geoff



Home | Main Index | Thread Index | Old Index