[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [PATCH] compilation fix of drivers/balloon/sysfs.c



compilation fix of drivers/balloon/sysfs.c

This patch fixes the following compilation error
for ia64.

>  CC      drivers/xen/balloon/sysfs.o
> /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:114: error: expected '=', 
> ',', ';', 'asm' or '__attribute__' before 'register_balloon'
> /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:151: error: expected '=', 
> ',', ';', 'asm' or '__attribute__' before 'void'
> /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:162: error: expected '=', 
> ',', ';', 'asm' or '__attribute__' before 'balloon_sysfs_init'
> /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:167: error: expected '=', 
> ',', ';', 'asm' or '__attribute__' before 'balloon_sysfs_exit'

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff --git a/drivers/xen/balloon/sysfs.c b/drivers/xen/balloon/sysfs.c
--- a/drivers/xen/balloon/sysfs.c
+++ b/drivers/xen/balloon/sysfs.c
@@ -30,6 +30,7 @@
 
 #include <linux/capability.h>
 #include <linux/errno.h>
+#include <linux/init.h>
 #include <linux/stat.h>
 #include <linux/string.h>
 #include <linux/sysdev.h>


-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.