summaryrefslogtreecommitdiff
path: root/arch/cris/mm/init.c
diff options
context:
space:
mode:
authorStoyan Gaydarov <stoyboyker@gmail.com>2009-03-10 08:10:40 +0300
committerJesper Nilsson <jesper.nilsson@axis.com>2009-04-02 15:56:04 +0400
commit59b97760771143a2e4221df1c517f915cdb303f7 (patch)
treec3c16aea7a99b78505b5b0cbd3263f85e42c31e2 /arch/cris/mm/init.c
parent15f7176eb1cccec0a332541285ee752b935c1c85 (diff)
downloadlinux-59b97760771143a2e4221df1c517f915cdb303f7.tar.xz
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/mm/init.c')
-rw-r--r--arch/cris/mm/init.c3
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...