[GIT pull] locking fix for 4.10

From: Thomas Gleixner
Date: Sat Feb 18 2017 - 04:32:37 EST


Linus,

please pull the latest locking-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus

Move the futex init function to core initcall so user mode helper does not
run into an uninitialized futex syscall.

Thanks,

tglx

------------------>
Yang Yang (1):
futex: Move futex_init() to core_initcall


kernel/futex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/futex.c b/kernel/futex.c
index 0842c8ca534b..cdf365036141 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -3323,4 +3323,4 @@ static int __init futex_init(void)

return 0;
}
-__initcall(futex_init);
+core_initcall(futex_init);