]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix build error in queue-3.0/ifb-fix-rcu_sched-self-detected-stalls.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2013 18:52:51 +0000 (11:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2013 18:52:51 +0000 (11:52 -0700)
queue-3.0/ifb-fix-rcu_sched-self-detected-stalls.patch

index 04a2428c35c4c7ae8fc921673d147ba37646f01f..314315f2c2d8b46e9efb549cd6bc2dd550154c62 100644 (file)
@@ -25,12 +25,20 @@ Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 ---
- drivers/net/ifb.c |    +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
+ drivers/net/ifb.c |    5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
 
 --- a/drivers/net/ifb.c
 +++ b/drivers/net/ifb.c
-@@ -252,8 +252,10 @@ static int __init ifb_init_module(void)
+@@ -33,6 +33,7 @@
+ #include <linux/etherdevice.h>
+ #include <linux/init.h>
+ #include <linux/moduleparam.h>
++#include <linux/sched.h>
+ #include <net/pkt_sched.h>
+ #include <net/net_namespace.h>
+@@ -252,8 +253,10 @@ static int __init ifb_init_module(void)
        rtnl_lock();
        err = __rtnl_link_register(&ifb_link_ops);