From 59b97760771143a2e4221df1c517f915cdb303f7 Mon Sep 17 00:00:00 2001 From: Stoyan Gaydarov Date: Tue, 10 Mar 2009 06:10:40 +0100 Subject: 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 2fdd212..514f46a 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... -- cgit v0.10.2