Skip to content

Commit

Permalink
BUG to BUG_ON changes
Browse files Browse the repository at this point in the history
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
  • Loading branch information
Stoyan Gaydarov authored and Jesper Nilsson committed Apr 2, 2009
1 parent 15f7176 commit 59b9776
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/cris/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ mem_init(void)
int codesize, reservedpages, datasize, initsize;
unsigned long tmp;

if(!mem_map)
BUG();
BUG_ON(!mem_map);

/* max/min_low_pfn was set by setup.c
* now we just copy it to some other necessary places...
Expand Down

0 comments on commit 59b9776

Please sign in to comment.