linux_dsm_epyc7002/arch/tile/mm
Julia Lawall d1afa65ca5 arch/tile/mm/init.c: trivial: use BUG_ON
Use BUG_ON(x) rather than if(x) BUG();

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

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

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

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2011-08-02 16:26:59 -04:00
..
elf.c arch/tile: Miscellaneous cleanup changes. 2010-07-06 13:41:51 -04:00
extable.c arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
fault.c arch/tile: support signal "exception-trace" hook 2011-05-19 22:55:59 -04:00
highmem.c arch/tile: complete migration to new kmap_atomic scheme 2010-11-01 15:30:36 -04:00
homecache.c arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
hugetlbpage.c Fix common misspellings 2011-03-31 11:26:23 -03:00
init.c arch/tile/mm/init.c: trivial: use BUG_ON 2011-08-02 16:26:59 -04:00
Makefile arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
migrate_32.S arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
migrate_64.S arch/tile: finish enabling support for TILE-Gx 64-bit chip 2011-05-12 15:52:12 -04:00
migrate.h arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
mmap.c arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
pgtable.c lib, arch: add filter argument to show_mem and fix private implementations 2011-03-24 17:49:37 -07:00