projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix invalid access in aio notification
[oweals/musl.git]
/
arch
/
i386
/
pthread_arch.h
diff --git
a/arch/i386/pthread_arch.h
b/arch/i386/pthread_arch.h
index b17dc87abf302f647c4081bb3345034eb952be95..1c06c7641df683b9ffe14c0e91f0b1da192abbe0 100644
(file)
--- a/
arch/i386/pthread_arch.h
+++ b/
arch/i386/pthread_arch.h
@@
-1,9
+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 CANCEL_REG_SP 7
+#define TP_ADJ(p) (p)
+
#define CANCEL_REG_IP 14
#define CANCEL_REG_IP 14