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

[Xen-changelog] [xen-unstable] [IA64] warning fixes



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1172685736 25200
# Node ID b3e19f3092b6d3a7b62e08a8430832dcc99a2758
# Parent  347fb33790bdd93bcddffbe0e11b69756d4c6fb3
[IA64] warning fixes

Fix a few warnings generated by the sn2 code changes, add these
back when/if they get used.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/linux-xen/sn/kernel/io_init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 347fb33790bd -r b3e19f3092b6 xen/arch/ia64/linux-xen/sn/kernel/io_init.c
--- a/xen/arch/ia64/linux-xen/sn/kernel/io_init.c       Wed Feb 28 10:55:50 
2007 -0700
+++ b/xen/arch/ia64/linux-xen/sn/kernel/io_init.c       Wed Feb 28 11:02:16 
2007 -0700
@@ -182,7 +182,6 @@ sn_pcidev_info_get(struct pci_dev *dev)
        }
        return NULL;
 }
-#endif
 
 /* Older PROM flush WAR
  *
@@ -362,7 +361,6 @@ sn_pci_window_fixup(struct pci_dev *dev,
        controller->window = new_window;
 }
 
-#ifndef XEN
 void sn_pci_unfixup_slot(struct pci_dev *dev)
 {
        struct pci_dev *host_pci_dev = SN_PCIDEV_INFO(dev)->host_pci_dev;
@@ -658,7 +656,9 @@ static int __init sn_io_early_init(void)
 static int __init sn_io_early_init(void)
 {
        int i, j;
+#ifndef XEN
        struct pci_dev *pci_dev = NULL;
+#endif
 
        if (!ia64_platform_is("sn2") || IS_RUNNING_ON_FAKE_PROM())
                return 0;

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


 


Rackspace

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