direct-io.hg

changeset 15096:d4f59e652078

[IA64] Fix PCI front with CONFIG_NUMA

We get a bad pointer dereference if we don't fill something in
here. -1 will give us a global allocation, which is good enough
until we have better NUMA support.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author Alex Williamson <alex.williamson@hp.com>
date Mon May 07 08:32:26 2007 -0600 (2007-05-07)
parents 642a9bcaf19c
children d20e4f3158c7
files linux-2.6-xen-sparse/include/xen/pcifront.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/xen/pcifront.h	Sun May 06 20:34:15 2007 -0600
     1.2 +++ b/linux-2.6-xen-sparse/include/xen/pcifront.h	Mon May 07 08:32:26 2007 -0600
     1.3 @@ -62,6 +62,7 @@ static inline void pcifront_init_sd(stru
     1.4  	sd->segment = domain;
     1.5  	sd->acpi_handle = NULL;
     1.6  	sd->iommu = NULL;
     1.7 +	sd->node = -1;
     1.8  	sd->windows = 0;
     1.9  	sd->window = NULL;
    1.10  	sd->platform_data = pdev;