ia64/xen-unstable
changeset 11548:c3b4b9dc23ac
[XEN] Trivial simplification.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Wed Sep 20 17:59:30 2006 +0100 (2006-09-20) |
parents | 3e39cc16dd41 |
children | 6d83c86ebfe9 |
files | xen/arch/x86/mm.c |
line diff
1.1 --- a/xen/arch/x86/mm.c Wed Sep 20 17:58:10 2006 +0100 1.2 +++ b/xen/arch/x86/mm.c Wed Sep 20 17:59:30 2006 +0100 1.3 @@ -1590,7 +1590,6 @@ void free_page_type(struct page_info *pa 1.4 void put_page_type(struct page_info *page) 1.5 { 1.6 unsigned long nx, x, y = page->u.inuse.type_info; 1.7 - struct domain *owner = page_get_owner(page); 1.8 1.9 again: 1.10 do { 1.11 @@ -1631,7 +1630,7 @@ void put_page_type(struct page_info *pag 1.12 * until the type count has been zeroed by the CMPXCHG above. 1.13 */ 1.14 if ( unlikely((nx & PGT_count_mask) == 0) ) 1.15 - mark_dirty(owner, page_to_mfn(page)); 1.16 + mark_dirty(page_get_owner(page), page_to_mfn(page)); 1.17 } 1.18 1.19