datapath: Add missing header.
authorJesse Gross <jesse@nicira.com>
Thu, 23 Jun 2011 19:54:48 +0000 (12:54 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 23 Jun 2011 20:02:32 +0000 (13:02 -0700)
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>
datapath/vport-internal_dev.c

index b7bcbce..5b3b2b3 100644 (file)
@@ -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>