[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Use local var instead of current->domain in two places.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1168530628 0 # Node ID 2c73e6e647f39814b1f658304792330f79608d61 # Parent 866a167bcb49020768825b264dc8d91e25b0b90c [XEN] Use local var instead of current->domain in two places. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- xen/arch/x86/mm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 866a167bcb49 -r 2c73e6e647f3 xen/arch/x86/mm.c --- a/xen/arch/x86/mm.c Thu Jan 11 15:43:38 2007 +0000 +++ b/xen/arch/x86/mm.c Thu Jan 11 15:50:28 2007 +0000 @@ -1376,7 +1376,7 @@ static int mod_l2_entry(l2_pgentry_t *pl if ( !l2e_has_changed(ol2e, nl2e, _PAGE_PRESENT)) return UPDATE_ENTRY(l2, pl2e, ol2e, nl2e, pfn, current); - if ( unlikely(!get_page_from_l2e(nl2e, pfn, current->domain)) ) + if ( unlikely(!get_page_from_l2e(nl2e, pfn, d)) ) return 0; if ( unlikely(!UPDATE_ENTRY(l2, pl2e, ol2e, nl2e, pfn, current)) ) @@ -1439,7 +1439,7 @@ static int mod_l3_entry(l3_pgentry_t *pl if (!l3e_has_changed(ol3e, nl3e, _PAGE_PRESENT)) return UPDATE_ENTRY(l3, pl3e, ol3e, nl3e, pfn, current); - if ( unlikely(!get_page_from_l3e(nl3e, pfn, current->domain)) ) + if ( unlikely(!get_page_from_l3e(nl3e, pfn, d)) ) return 0; if ( unlikely(!UPDATE_ENTRY(l3, pl3e, ol3e, nl3e, pfn, current)) ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |