BUG to BUG_ON changes
[pandora-kernel.git] / arch / cris / mm / init.c
index 2fdd212..514f46a 100644 (file)
@@ -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...