aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2011-06-23 12:54:48 -0700
committerJesse Gross <jesse@nicira.com>2011-06-23 13:02:32 -0700
commit88211ddaaadf312d6ceb959eb564dbfea49e9c42 (patch)
treeaab91d3eb767568ec17a72088a04973edd740b03
parentc821124b25eb72b8c81894a5560e59c5cd5845f0 (diff)
datapath: Add missing header.
The internal dev vport really needs hardirq.h but doesn't depend directly on it and has relied on it being included from other sources. Recent kernels broke this, so explicitly add the header. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
-rw-r--r--datapath/vport-internal_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath/vport-internal_dev.c b/datapath/vport-internal_dev.c
index b7bcbce6..5b3b2b3d 100644
--- a/datapath/vport-internal_dev.c
+++ b/datapath/vport-internal_dev.c
@@ -6,6 +6,7 @@
* kernel, by Linus Torvalds and others.
*/
+#include <linux/hardirq.h>
#include <linux/if_vlan.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>