From: Stoyan Gaydarov Date: Tue, 10 Mar 2009 05:10:40 +0000 (+0100) Subject: BUG to BUG_ON changes X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=59b97760771143a2e4221df1c517f915cdb303f7;p=deliverable%2Flinux.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 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...