kconfig: fix default value for choice input
[pandora-kernel.git] / mm / vmalloc.c
index 729eb3e..c0504f1 100644 (file)
@@ -321,8 +321,7 @@ void __vunmap(void *addr, int deallocate_pages)
                int i;
 
                for (i = 0; i < area->nr_pages; i++) {
-                       if (unlikely(!area->pages[i]))
-                               BUG();
+                       BUG_ON(!area->pages[i]);
                        __free_page(area->pages[i]);
                }