Empty containers working as normal with device changes/cleanups

This commit is contained in:
Bahadir Balban
2009-11-22 14:42:49 +02:00
parent f1efee2475
commit f3f581f2e7

View File

@@ -773,7 +773,9 @@ void init_resource_allocators(struct boot_resources *bootres,
bootres->nkcaps += kres->virtmem_used.ncaps +
kres->virtmem_free.ncaps +
kres->physmem_used.ncaps +
kres->physmem_free.ncaps + 2 + 3;
kres->physmem_free.ncaps +
kres->devmem_free.ncaps +
kres->devmem_used.ncaps + 2 + 3;
/* Add that to all cap count */
bootres->ncaps += bootres->nkcaps;