projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: add empty __invtrigl.s to i386 and x86_64
[musl]
/
arch
/
i386
/
pthread_arch.h
diff --git
a/arch/i386/pthread_arch.h
b/arch/i386/pthread_arch.h
index
155b484
..
1c06c76
100644
(file)
--- a/
arch/i386/pthread_arch.h
+++ b/
arch/i386/pthread_arch.h
@@
-1,6
+1,10
@@
static inline struct pthread *__pthread_self()
{
struct pthread *self;
static inline struct pthread *__pthread_self()
{
struct pthread *self;
- __asm__ ("movl %%gs:0,%0" : "=r" (self) );
+ __asm__
__volatile__
("movl %%gs:0,%0" : "=r" (self) );
return self;
}
return self;
}
+
+#define TP_ADJ(p) (p)
+
+#define CANCEL_REG_IP 14