summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorStoyan Gaydarov <stoyboyker@gmail.com>2009-03-10 06:10:40 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2009-04-02 13:56:04 +0200
commit59b97760771143a2e4221df1c517f915cdb303f7 (patch)
treec3c16aea7a99b78505b5b0cbd3263f85e42c31e2 /arch/cris
parent15f7176eb1cccec0a332541285ee752b935c1c85 (diff)
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c
index 2fdd212eb25..514f46a4b23 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...