summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/multicalls.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2009-02-06 22:38:51 +0100
committerIngo Molnar2009-02-16 08:56:24 +0100
commit3d39e9d07b576ee72f2c94cfad9e618fe21763b2 (patch)
treec0774b911b48e28cb983b0d4a36e231ee3a7b486 /arch/x86/xen/multicalls.c
parentx86, xen: record and display initiator of each multicall when debugging (diff)
downloadkernel-qcow2-linux-3d39e9d07b576ee72f2c94cfad9e618fe21763b2.tar.gz
kernel-qcow2-linux-3d39e9d07b576ee72f2c94cfad9e618fe21763b2.tar.xz
kernel-qcow2-linux-3d39e9d07b576ee72f2c94cfad9e618fe21763b2.zip
x86, xen: degrade BUG to WARN when multicall fails
If one of the components of a multicall fails, WARN rather than BUG, to help with debugging. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/multicalls.c')
-rw-r--r--arch/x86/xen/multicalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/multicalls.c b/arch/x86/xen/multicalls.c
index 82f2513e9758..6cffd5532b91 100644
--- a/arch/x86/xen/multicalls.c
+++ b/arch/x86/xen/multicalls.c
@@ -179,7 +179,7 @@ void xen_mc_flush(void)
}
b->cbidx = 0;
- BUG_ON(ret);
+ WARN_ON(ret);
}
struct multicall_space __xen_mc_entry(size_t args)