BUG to BUG_ON changes
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
This commit is contained in:
parent
15f7176eb1
commit
59b9776077
1 changed files with 1 additions and 2 deletions
|
@ -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...
|
||||
|
|
Loading…
Reference in a new issue