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

[Xen-changelog] [xen-unstable] [IA64] Fix PCI front with CONFIG_NUMA



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1178548346 21600
# Node ID d4f59e6520781a3f1d025e754d11992be68c309c
# Parent  642a9bcaf19c63f12722a30d94de2ad2607d9d47
[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@xxxxxx>
---
 linux-2.6-xen-sparse/include/xen/pcifront.h |    1 +
 1 files changed, 1 insertion(+)

diff -r 642a9bcaf19c -r d4f59e652078 linux-2.6-xen-sparse/include/xen/pcifront.h
--- a/linux-2.6-xen-sparse/include/xen/pcifront.h       Sun May 06 20:34:15 
2007 -0600
+++ b/linux-2.6-xen-sparse/include/xen/pcifront.h       Mon May 07 08:32:26 
2007 -0600
@@ -62,6 +62,7 @@ static inline void pcifront_init_sd(stru
        sd->segment = domain;
        sd->acpi_handle = NULL;
        sd->iommu = NULL;
+       sd->node = -1;
        sd->windows = 0;
        sd->window = NULL;
        sd->platform_data = pdev;

_______________________________________________
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®.