projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
futex: rely on get_user_pages() for shared futexes
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
futex.h
diff --git
a/include/linux/futex.h
b/include/linux/futex.h
index 586ab56a3ec3500e601e786e0e858f1980fbc8e5..8f627b9ae2b15f1a6b5e383028b6adbce0034f0e 100644
(file)
--- a/
include/linux/futex.h
+++ b/
include/linux/futex.h
@@
-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);