WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] nasty bug fix, Xen patchbot-unstable <=