about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/x86_64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-23 10:01:06 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-23 10:01:06 +0000
commite408880b8102768b2fb612a82589a143b04d6302 (patch)
treed26a78a852532cd39bf83212f025a2a5b7659dc5 /linuxthreads/sysdeps/x86_64
parent16b06b70b58461cca36a4aa83559cb89385076ce (diff)
downloadglibc-e408880b8102768b2fb612a82589a143b04d6302.tar.gz
glibc-e408880b8102768b2fb612a82589a143b04d6302.tar.xz
glibc-e408880b8102768b2fb612a82589a143b04d6302.zip
Update.
2004-03-23  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ia64/pt-machine.h (BUSY_WAIT_NOP): Define.
	* sysdeps/x86_64/pt-machine.h (BUSY_WAIT_NOP): Likewise.
Diffstat (limited to 'linuxthreads/sysdeps/x86_64')
-rw-r--r--linuxthreads/sysdeps/x86_64/pt-machine.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/x86_64/pt-machine.h b/linuxthreads/sysdeps/x86_64/pt-machine.h
index bd53069a78..68baac7d03 100644
--- a/linuxthreads/sysdeps/x86_64/pt-machine.h
+++ b/linuxthreads/sysdeps/x86_64/pt-machine.h
@@ -1,6 +1,6 @@
 /* Machine-dependent pthreads configuration and inline functions.
    x86-64 version.
-   Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -219,4 +219,7 @@ extern int __arch_prctl (int __code, unsigned long __addr);
 /* Maximum size of the stack if the rlimit is unlimited.  */
 #define ARCH_STACK_MAX_SIZE	32*1024*1024
 
+/* The ia32e really want some help to prevent overheating.  */
+#define BUSY_WAIT_NOP	__asm__ ("rep; nop")
+
 #endif /* pt-machine.h */