xen/arm: increase MAX_MODULES
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 13 Nov 2018 16:45:49 +0000 (08:45 -0800)
committerJulien Grall <julien.grall@arm.com>
Wed, 14 Nov 2018 19:25:11 +0000 (19:25 +0000)
Xen boot modules need to account not just for Dom0 but also for a few
potential DomUs, each of them coming with their own kernel and initrd.
Increase MAX_MODULES to 32 to allow for more DomUs.

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/setup.h

index 11e1b2aacf3ec7d7a9f16d7eb26c413d6160cd76..4e501edd8f70cf9da9bae001a996b94c56cf7b79 100644 (file)
@@ -8,7 +8,7 @@
 
 #define NR_MEM_BANKS 128
 
-#define MAX_MODULES 5 /* Current maximum useful modules */
+#define MAX_MODULES 32 /* Current maximum useful modules */
 
 typedef enum {
     BOOTMOD_XEN,