diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index df87c803cecc92e5fee00457d82bd4dfa24a5fd0..e425a32e0a9084404977f9d2ff474be7ace0aa0c 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, } *args; struct multicall_space mcs; - BUG_ON(cpumask_empty(cpus)); - BUG_ON(!mm); + if (cpumask_empty(cpus)) + return; /* nothing to do */ mcs = xen_mc_entry(sizeof(*args)); args = mcs.args;