aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/xen/mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index 4db24e1393a2..7ef880c51dca 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -1302,8 +1302,8 @@ static void xen_flush_tlb_others(const struct cpumask *cpus,
1302 } *args; 1302 } *args;
1303 struct multicall_space mcs; 1303 struct multicall_space mcs;
1304 1304
1305 BUG_ON(cpumask_empty(cpus)); 1305 if (cpumask_empty(cpus))
1306 BUG_ON(!mm); 1306 return; /* nothing to do */
1307 1307
1308 mcs = xen_mc_entry(sizeof(*args)); 1308 mcs = xen_mc_entry(sizeof(*args));
1309 args = mcs.args; 1309 args = mcs.args;