Browse Source

percpu: include linux/sched.h for cond_resched()

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>
Tejun Heo 7 năm trước cách đây
mục cha
commit
71546d1004
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      mm/percpu.c

+ 1 - 0
mm/percpu.c

@@ -80,6 +80,7 @@
 #include <linux/vmalloc.h>
 #include <linux/workqueue.h>
 #include <linux/kmemleak.h>
+#include <linux/sched.h>
 
 #include <asm/cacheflush.h>
 #include <asm/sections.h>