[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] nasty bug fix
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 4e7318b0c1e0e212ba5855d25dc228235939c794 # Parent 4ebb9c91c8862c0ce9a8cba892b43ab5c98bc84d [IA64] nasty bug fix Bug fix: restore phys_addr field, because some other Xen functions consider it as unused. Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx> --- linux-2.6-xen-sparse/arch/ia64/xen/util.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 4ebb9c91c886 -r 4e7318b0c1e0 linux-2.6-xen-sparse/arch/ia64/xen/util.c --- a/linux-2.6-xen-sparse/arch/ia64/xen/util.c Wed Jul 26 09:39:38 2006 -0600 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/util.c Wed Jul 26 09:41:24 2006 -0600 @@ -71,6 +71,9 @@ void free_vm_area(struct vm_struct *area unsigned int order = get_order(area->size); unsigned long i; + /* xenbus_map_ring_valloc overrides this field! */ + area->phys_addr = __pa(area->addr); + // This area is used for foreign page mappping. // So underlying machine page may not be assigned. for (i = 0; i < (1 << order); i++) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |