diff options
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r-- | linuxthreads/sysdeps/i386/i686/pt-machine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h index 7df3e7e487..c7396024bb 100644 --- a/linuxthreads/sysdeps/i386/i686/pt-machine.h +++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h @@ -64,3 +64,6 @@ __compare_and_swap (long int *p, long int oldval, long int newval) #if __ASSUME_LDT_WORKS > 0 #include "../useldt.h" #endif + +/* The P4 and above really want some help to prevent overheating. */ +#define BUSY_WAIT_NOP __asm__ ("rep; nop") |