futex: rely on get_user_pages() for shared futexes
[deliverable/linux.git] / include / linux / futex.h
index 90048fb28a38041a8a3975a59a30502f0b5a23bd..8f627b9ae2b15f1a6b5e383028b6adbce0034f0e 100644 (file)
@@ -164,9 +164,12 @@ union futex_key {
        } both;
 };
 
+#define FUTEX_KEY_INIT (union futex_key) { .both = { .ptr = NULL } }
+
 #ifdef CONFIG_FUTEX
 extern void exit_robust_list(struct task_struct *curr);
 extern void exit_pi_state_list(struct task_struct *curr);
+extern int futex_cmpxchg_enabled;
 #else
 static inline void exit_robust_list(struct task_struct *curr)
 {
This page took 0.029038 seconds and 5 git commands to generate.