Discussion:
[Xen-changelog] [xen staging] xen/arm: increase MAX_MODULES
p***@xen.org
2018-11-14 19:55:35 UTC
Permalink
commit f7ce956f26bd1a3710d647de15a4ef816c3c203e
Author: Stefano Stabellini <***@kernel.org>
AuthorDate: Tue Nov 13 08:45:49 2018 -0800
Commit: Julien Grall <***@arm.com>
CommitDate: Wed Nov 14 19:25:11 2018 +0000

xen/arm: increase MAX_MODULES

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 <***@xilinx.com>
Reviewed-by: Doug Goldstein <***@cardoe.com>
Acked-by: Julien Grall <***@arm.com>
---
xen/include/asm-arm/setup.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/asm-arm/setup.h b/xen/include/asm-arm/setup.h
index 11e1b2aacf..4e501edd8f 100644
--- a/xen/include/asm-arm/setup.h
+++ b/xen/include/asm-arm/setup.h
@@ -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,
--
generated by git-patchbot for /home/xen/git/xen.git#staging

Loading...