浏览代码

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>
Jeremy Fitzhardinge 16 年之前
父节点
当前提交
3d39e9d07b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/xen/multicalls.c

+ 1 - 1
arch/x86/xen/multicalls.c

@@ -179,7 +179,7 @@ void xen_mc_flush(void)
 	}
 	}
 	b->cbidx = 0;
 	b->cbidx = 0;
 
 
-	BUG_ON(ret);
+	WARN_ON(ret);
 }
 }
 
 
 struct multicall_space __xen_mc_entry(size_t args)
 struct multicall_space __xen_mc_entry(size_t args)