futex: rely on get_user_pages() for shared futexes
[deliverable/linux.git] / include / linux / futex.h
index 586ab56a3ec3500e601e786e0e858f1980fbc8e5..8f627b9ae2b15f1a6b5e383028b6adbce0034f0e 100644 (file)
@@ -164,6 +164,8 @@ 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);
This page took 0.043372 seconds and 5 git commands to generate.