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 df87c803cecc..e425a32e0a90 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -1293,8 +1293,8 @@ static void xen_flush_tlb_others(const struct cpumask *cpus,
1293 } *args; 1293 } *args;
1294 struct multicall_space mcs; 1294 struct multicall_space mcs;
1295 1295
1296 BUG_ON(cpumask_empty(cpus)); 1296 if (cpumask_empty(cpus))
1297 BUG_ON(!mm); 1297 return; /* nothing to do */
1298 1298
1299 mcs = xen_mc_entry(sizeof(*args)); 1299 mcs = xen_mc_entry(sizeof(*args));
1300 args = mcs.args; 1300 args = mcs.args;