WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] compilation fix of drivers/balloon/sysfs.c
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 25 Nov 2008 14:29:21 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 24 Nov 2008 21:29:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH] compilation fix of drivers/balloon/sysfs.c, Isaku Yamahata <=