]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
BUG to BUG_ON changes
authorStoyan Gaydarov <stoyboyker@gmail.com>
Tue, 10 Mar 2009 05:10:40 +0000 (06:10 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Thu, 2 Apr 2009 11:56:04 +0000 (13:56 +0200)
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/mm/init.c

index 2fdd212eb250002cf5bfd53bb513c86bea15a8f4..514f46a4b2303baef15045e55fb218b8b1834c28 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...