Let <machine/cpufunc.h> provide wbinvd() on NetBSD.

This commit is contained in:
thorpej 2001-09-28 00:46:50 +00:00
parent c3e86966fb
commit 6a930624d7
1 changed files with 3 additions and 0 deletions

View File

@ -192,7 +192,10 @@
#define disable() __cli()
#define enable() __sti()
#define halt() __asm__ __volatile__ ("sti; hlt":::"memory")
/* XXX conflicts with inline in <machine/cpufunc.h> */
#if !defined(__NetBSD__)
#define wbinvd() __asm__ __volatile__ ("wbinvd":::"memory")
#endif /* __NetBSD__ */
/*! [Begin] no source code translation
*