Skip to content

Commit

Permalink
percpu: include linux/sched.h for cond_resched()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reported-by: kbuild test robot <[email protected]>
  • Loading branch information
htejun committed Mar 19, 2018
1 parent accd4f3 commit 71546d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 71546d1

Please sign in to comment.