ia64/xen-unstable

changeset 10788:4e7318b0c1e0

[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@bull.net>
author awilliam@xenbuild.aw
date Wed Jul 26 09:41:24 2006 -0600 (2006-07-26)
parents 4ebb9c91c886
children 21918b22746e
files linux-2.6-xen-sparse/arch/ia64/xen/util.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/util.c	Wed Jul 26 09:39:38 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/util.c	Wed Jul 26 09:41:24 2006 -0600
     1.3 @@ -71,6 +71,9 @@ void free_vm_area(struct vm_struct *area
     1.4  	unsigned int order = get_order(area->size);
     1.5  	unsigned long i;
     1.6  
     1.7 +	/* xenbus_map_ring_valloc overrides this field!  */
     1.8 +	area->phys_addr = __pa(area->addr);
     1.9 +
    1.10  	// This area is used for foreign page mappping.
    1.11  	// So underlying machine page may not be assigned.
    1.12  	for (i = 0; i < (1 << order); i++) {