From: Arnd Bergmann Date: Thu, 3 Aug 2023 14:40:11 +0000 (+0200) Subject: rcu: Include torture_sched_setaffinity() declaration X-Git-Tag: io_uring-6.7-2023-11-10~91^2~20 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3853a720f8bce9c5facb593e817f97659cc0512a;p=linux-block.git rcu: Include torture_sched_setaffinity() declaration The prototype for torture_sched_setaffinity() will be moved to a different header, which will need to be included from update.c to avoid this W=1 warning: kernel/rcu/update.c:529:6: error: no previous prototype for 'torture_sched_setaffinity' [-Werror=missing-prototypes] 529 | long torture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask) Signed-off-by: Arnd Bergmann Reviewed-by: Joel Fernandes (Google) Signed-off-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker --- diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index 19bf6fa3ee6a..9d3c2e6ba667 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include