diff options
author | Stoyan Gaydarov <stoyboyker@gmail.com> | 2009-03-10 06:10:40 +0100 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2009-04-02 13:56:04 +0200 |
commit | 59b97760771143a2e4221df1c517f915cdb303f7 (patch) | |
tree | c3c16aea7a99b78505b5b0cbd3263f85e42c31e2 /arch/cris | |
parent | 15f7176eb1cccec0a332541285ee752b935c1c85 (diff) | |
download | linux-59b97760771143a2e4221df1c517f915cdb303f7.tar.bz2 |
BUG to BUG_ON changes
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/mm/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c index 2fdd212eb250..514f46a4b230 100644 --- a/arch/cris/mm/init.c +++ b/arch/cris/mm/init.c @@ -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... |