xen/balloon: Fix compile errors - missing header files.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 22 Jul 2011 18:01:16 +0000 (14:01 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Aug 2011 18:34:55 +0000 (14:34 -0400)
With a specific enough .config file compile errors show
for missing workqueue declarations.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-selfballoon.c

index 010937b5a7c91d6df27f2766744981a0571d2585..1b4afd81f872306bb4f5ffd9b860fb5f3c0adc6f 100644 (file)
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/mman.h>
-
+#include <linux/workqueue.h>
 #include <xen/balloon.h>
-
 #include <xen/tmem.h>
+#include <xen/xen.h>
 
 /* Enable/disable with sysfs. */
 static int xen_selfballooning_enabled __read_mostly;