From: Stoyan Gaydarov Date: Tue, 10 Mar 2009 05:10:40 +0000 (+0100) Subject: BUG to BUG_ON changes X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=59b97760771143a2e4221df1c517f915cdb303f7;p=linux-2.6-omap-h63xx.git BUG to BUG_ON changes Signed-off-by: Stoyan Gaydarov Signed-off-by: Jesper Nilsson --- 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...