linux/arch/arm/xen
Himangi Saraogi a91c7775e3 xen/arm: use BUG_ON
Use BUG_ON(x) rather than if(x) BUG();

The semantic patch that fixes this problem is as follows:

// <smpl>
@@ identifier x; @@
-if (x) BUG();
+BUG_ON(x);
// </smpl>

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2014-07-25 12:05:48 -04:00
..
enlighten.c xen/arm: use BUG_ON 2014-07-25 12:05:48 -04:00
grant-table.c xen/grant-table: remove support for V2 tables 2014-07-14 15:28:30 -04:00
hypercall.S arm: xen: implement multicall hypercall support. 2014-04-24 13:09:46 +01:00
Makefile xen/arm,arm64: enable SWIOTLB_XEN 2013-10-10 13:40:44 +00:00
mm.c swiotlb-xen: use xen_alloc/free_coherent_pages 2013-10-10 13:41:10 +00:00
p2m.c xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override 2014-03-18 14:40:19 +00:00