memory: avoid pointless continuation in xenmem_add_to_physmap()
authorJan Beulich <jbeulich@suse.com>
Thu, 14 Jan 2021 12:00:26 +0000 (13:00 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 14 Jan 2021 12:00:26 +0000 (13:00 +0100)
commitd9751646697b1e2d337990264068ead3c10b993a
tree6ed79dada8a4412818c2283c97b0395c3d9f6634
parent0293fd24bbaa2c4fa0acbe2abcd2d41b96ecd7e1
memory: avoid pointless continuation in xenmem_add_to_physmap()

Adjust so we uniformly avoid needlessly arranging for a continuation on
the last iteration.

Fixes: 5777a3742d88 ("IOMMU: hold page ref until after deferred TLB flush")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
xen/common/memory.c