percpu: include linux/sched.h for cond_resched()
authorTejun Heo <tj@kernel.org>
Wed, 14 Mar 2018 15:27:26 +0000 (08:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2018 07:51:48 +0000 (09:51 +0200)
commite9caf1e1d5d4a74956a358800af20cb5d8cd2eae
tree0c58d5d9ffc64262b8d366b08a3a9b5882141f19
parent6a3c946b205fd5bc3be583a1f3adbda11128e7ed
percpu: include linux/sched.h for cond_resched()

commit 71546d100422bcc2c543dadeb9328728997cd23a upstream.

microblaze build broke due to missing declaration of the
cond_resched() invocation added recently.  Let's include linux/sched.h
explicitly.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/percpu.c