aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sunrpc/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 01c7e311b904..d43cf8ddff67 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -603,7 +603,7 @@ __svc_create_thread(svc_thread_fn func, struct svc_serv *serv,
603 error = kernel_thread((int (*)(void *)) func, rqstp, 0); 603 error = kernel_thread((int (*)(void *)) func, rqstp, 0);
604 604
605 if (have_oldmask) 605 if (have_oldmask)
606 set_cpus_allowed(current, oldmask); 606 set_cpus_allowed_ptr(current, &oldmask);
607 607
608 if (error < 0) 608 if (error < 0)
609 goto out_thread; 609 goto out_thread;