ia64/xen-unstable

changeset 14074:b3e19f3092b6

[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@hp.com>
author awilliam@xenbuild2.aw
date Wed Feb 28 11:02:16 2007 -0700 (2007-02-28)
parents 347fb33790bd
children f21250323a30
files xen/arch/ia64/linux-xen/sn/kernel/io_init.c
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/sn/kernel/io_init.c	Wed Feb 28 10:55:50 2007 -0700
     1.2 +++ b/xen/arch/ia64/linux-xen/sn/kernel/io_init.c	Wed Feb 28 11:02:16 2007 -0700
     1.3 @@ -182,7 +182,6 @@ sn_pcidev_info_get(struct pci_dev *dev)
     1.4  	}
     1.5  	return NULL;
     1.6  }
     1.7 -#endif
     1.8  
     1.9  /* Older PROM flush WAR
    1.10   *
    1.11 @@ -362,7 +361,6 @@ sn_pci_window_fixup(struct pci_dev *dev,
    1.12  	controller->window = new_window;
    1.13  }
    1.14  
    1.15 -#ifndef XEN
    1.16  void sn_pci_unfixup_slot(struct pci_dev *dev)
    1.17  {
    1.18  	struct pci_dev *host_pci_dev = SN_PCIDEV_INFO(dev)->host_pci_dev;
    1.19 @@ -658,7 +656,9 @@ void sn_bus_free_sysdata(void)
    1.20  static int __init sn_io_early_init(void)
    1.21  {
    1.22  	int i, j;
    1.23 +#ifndef XEN
    1.24  	struct pci_dev *pci_dev = NULL;
    1.25 +#endif
    1.26  
    1.27  	if (!ia64_platform_is("sn2") || IS_RUNNING_ON_FAKE_PROM())
    1.28  		return 0;