x86, xen: degrade BUG to WARN when multicall fails
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 6 Feb 2009 21:38:51 +0000 (13:38 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 16 Feb 2009 07:56:24 +0000 (08:56 +0100)
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>
arch/x86/xen/multicalls.c

index 82f2513e975809908528db6c61f1752696eb5d06..6cffd5532b913b6a1363f82ca8b65097d3c83e9c 100644 (file)
@@ -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)