git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Check for backported skb_frag_page().
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
workqueue.c
diff --git
a/datapath/linux/compat/workqueue.c
b/datapath/linux/compat/workqueue.c
index
883665b
..
9934f1a
100644
(file)
--- a/
datapath/linux/compat/workqueue.c
+++ b/
datapath/linux/compat/workqueue.c
@@
-23,8
+23,6
@@
#include <linux/lockdep.h>
#include <linux/idr.h>
#include <linux/lockdep.h>
#include <linux/idr.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
-
static spinlock_t wq_lock;
static struct list_head workq;
static wait_queue_head_t more_work;
static spinlock_t wq_lock;
static struct list_head workq;
static wait_queue_head_t more_work;
@@
-210,4
+208,3
@@
void ovs_workqueues_exit(void)
BUG_ON(!list_empty(&workq));
kthread_stop(workq_thread);
}
BUG_ON(!list_empty(&workq));
kthread_stop(workq_thread);
}
-#endif