diff options
author | kib <kib@FreeBSD.org> | 2008-10-14 07:59:23 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-10-14 07:59:23 +0000 |
commit | faae1c0f2f76b907ebecec0a309573fcdeb15802 (patch) | |
tree | 8c29e403aec4452c44ef805ef1756fb5cb403f33 /sys/compat/linux/linux_futex.h | |
parent | a3a1acfdd7d8fa969e9a27a182d0003544ccbf88 (diff) | |
download | FreeBSD-src-faae1c0f2f76b907ebecec0a309573fcdeb15802.zip FreeBSD-src-faae1c0f2f76b907ebecec0a309573fcdeb15802.tar.gz |
Make robust futexes work on linux32/amd64. Use PTRIN to read
user-mode pointers. Change types used in the structures definitions to
properly-sized architecture-specific types.
Submitted by: dchagin
MFC after: 1 week
Diffstat (limited to 'sys/compat/linux/linux_futex.h')
-rw-r--r-- | sys/compat/linux/linux_futex.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/compat/linux/linux_futex.h b/sys/compat/linux/linux_futex.h index 0f7a393..d658925 100644 --- a/sys/compat/linux/linux_futex.h +++ b/sys/compat/linux/linux_futex.h @@ -63,18 +63,6 @@ #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ -/* This is defined by Linux user-space */ - -struct linux_robust_list { - struct linux_robust_list *next; -}; - -struct linux_robust_list_head { - struct linux_robust_list list; - l_ulong futex_offset; - struct linux_robust_list *pending_list; -}; - #define FUTEX_WAITERS 0x80000000 #define FUTEX_OWNER_DIED 0x40000000 #define FUTEX_TID_MASK 0x3fffffff |