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-changelog

[Xen-changelog] [linux-2.6.18-xen] xen: Fix the build.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen: Fix the build.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Mar 2008 05:41:34 -0700
Delivery-date: Thu, 20 Mar 2008 05:47:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205869053 0
# Node ID a461c109f74f8c0174eaaab870981cfdb3a44ac1
# Parent  2783eccd480552523bb16f3dee5967260862ed9b
xen: Fix the build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 arch/i386/mach-xen/setup.c    |    1 +
 drivers/xen/pcifront/xenbus.c |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff -r 2783eccd4805 -r a461c109f74f arch/i386/mach-xen/setup.c
--- a/arch/i386/mach-xen/setup.c        Tue Mar 18 15:01:09 2008 +0000
+++ b/arch/i386/mach-xen/setup.c        Tue Mar 18 19:37:33 2008 +0000
@@ -2,6 +2,7 @@
  *     Machine specific setup for generic
  */
 
+#include <linux/mm.h>
 #include <linux/smp.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
diff -r 2783eccd4805 -r a461c109f74f drivers/xen/pcifront/xenbus.c
--- a/drivers/xen/pcifront/xenbus.c     Tue Mar 18 15:01:09 2008 +0000
+++ b/drivers/xen/pcifront/xenbus.c     Tue Mar 18 19:37:33 2008 +0000
@@ -10,6 +10,10 @@
 #include <xen/gnttab.h>
 #include "pcifront.h"
 
+#ifndef __init_refok
+#define __init_refok
+#endif
+
 #define INVALID_GRANT_REF (0)
 #define INVALID_EVTCHN    (-1)
 
@@ -277,7 +281,7 @@ static int __devinit pcifront_attach_dev
 
 static int pcifront_detach_devices(struct pcifront_device *pdev)
 {
-       int err;
+       int err = 0;
        int i, num_devs;
        unsigned int domain, bus, slot, func;
        struct pci_bus *pci_bus;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen: Fix the build., Xen patchbot-linux-2.6.18-xen <=