Commit 22cbb1bd authored by Ben Hutchings's avatar Ben Hutchings

ifb: Include <linux/sched.h>

commit b51c3427 ('ifb: fix rcu_sched self-detected stalls', commit
440d57bc upstream) added a call to cond_resched(), which is
declared in '#include <linux/sched.h>'.  In Linux 3.2.y that header is
included indirectly in some but not all configurations, so add a
direct #include.
Reported-by: default avatarTeck Choon Giam <giamteckchoon@gmail.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 401390fb
......@@ -34,6 +34,7 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/moduleparam.h>
#include <linux/sched.h>
#include <net/pkt_sched.h>
#include <net/net_namespace.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment