Container number is received from the configuration system.

This commit is contained in:
Bora Sahin
2009-09-25 13:43:33 +03:00
parent 9917d52dfb
commit 9bb96108ed
2 changed files with 2 additions and 2 deletions

View File

@@ -806,7 +806,7 @@ int setup_boot_resources(struct boot_resources *bootres,
init_kernel_container(kcont);
/* Number of containers known at compile-time */
bootres->nconts = CONFIG_TOTAL_CONTAINERS;
bootres->nconts = CONFIG_CONTAINERS;
/* Traverse all containers */
for (int i = 0; i < bootres->nconts; i++) {