aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/balloon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/balloon.c')
-rw-r--r--drivers/xen/balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index 1fa633b2d556..c79329fcfa78 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -441,7 +441,7 @@ static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp)
441 /* Update direct mapping, invalidate P2M, and add to balloon. */ 441 /* Update direct mapping, invalidate P2M, and add to balloon. */
442 for (i = 0; i < nr_pages; i++) { 442 for (i = 0; i < nr_pages; i++) {
443 pfn = frame_list[i]; 443 pfn = frame_list[i];
444 frame_list[i] = pfn_to_mfn(pfn); 444 frame_list[i] = pfn_to_gfn(pfn);
445 page = pfn_to_page(pfn); 445 page = pfn_to_page(pfn);
446 446
447#ifdef CONFIG_XEN_HAVE_PVMMU 447#ifdef CONFIG_XEN_HAVE_PVMMU