X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=drivers%2Fxen%2Fxen-balloon.c;h=a8d24433c8e9685e42b8e4f27054cc179b185aab;hb=4c7d00ccf40db99bfb7bd1857bcbf007275704d8;hp=6d12fc36821093eb006eae43ea1daa0709091862;hpb=795227660d05e109b57896e2df1de0f012c64662;p=linux.git diff --git a/drivers/xen/xen-balloon.c b/drivers/xen/xen-balloon.c index 6d12fc368210..a8d24433c8e9 100644 --- a/drivers/xen/xen-balloon.c +++ b/drivers/xen/xen-balloon.c @@ -94,7 +94,7 @@ static void watch_target(struct xenbus_watch *watch, "%llu", &static_max) == 1)) static_max >>= PAGE_SHIFT - 10; else - static_max = new_target; + static_max = balloon_stats.current_pages; target_diff = (xen_pv_domain() || xen_initial_domain()) ? 0 : static_max - balloon_stats.target_pages;