From 832b6c04f3749c2fe9faf493dba558108e2d540b Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Wed, 4 Mar 2009 17:36:57 -0800 Subject: [PATCH] --- yaml --- r: 145829 b: refs/heads/master c: 8de07bbdede03598801cf33ab23dcbcd28a918d2 h: refs/heads/master i: 145827: a14d25e3e9ab35a09597189cff62d357738345ea v: v3 --- [refs] | 2 +- trunk/arch/x86/xen/mmu.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index fc5a65566eeb..7650e86d0089 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4185f35404dc96f8525298c7c548aee419f3b3f4 +refs/heads/master: 8de07bbdede03598801cf33ab23dcbcd28a918d2 diff --git a/trunk/arch/x86/xen/mmu.c b/trunk/arch/x86/xen/mmu.c index df87c803cecc..e425a32e0a90 100644 --- a/trunk/arch/x86/xen/mmu.c +++ b/trunk/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;