]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/xen/xen-balloon.c
Merge tag 'pwm/for-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[linux.git] / drivers / xen / xen-balloon.c
index 6d12fc36821093eb006eae43ea1daa0709091862..a8d24433c8e9685e42b8e4f27054cc179b185aab 100644 (file)
@@ -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;