drm/xe: Restrict huge PTEs to 1GiB
[linux-2.6-microblaze.git] / mm / memblock.c
index fd492e5..5a88d6d 100644 (file)
@@ -424,7 +424,7 @@ static int __init_memblock memblock_double_array(struct memblock_type *type,
         * of memory that aren't suitable for allocation
         */
        if (!memblock_can_resize)
-               return -1;
+               panic("memblock: cannot resize %s array\n", type->name);
 
        /* Calculate new doubled size */
        old_size = type->max * sizeof(struct memblock_region);