diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2011-09-12 10:22:02 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2011-09-14 13:28:46 -0500 |
| commit | dbc9dc228c879efbd86df3d655990c21df8d9a8f (patch) | |
| tree | d756babb6c4a876906718a214c969e31c03d1e9a /src/kernel/heapmgr.C | |
| parent | b06c8727c809ec10aafe8fad0b929626f9d50987 (diff) | |
| download | talos-hostboot-dbc9dc228c879efbd86df3d655990c21df8d9a8f.tar.gz talos-hostboot-dbc9dc228c879efbd86df3d655990c21df8d9a8f.zip | |
Centralizing a few of the memory-related constants to avoid some
redundancies and also to have a single place to update the memory
map if needed.
See Task 3507.
Change-Id: I8f2d632983abe6d6798784e975cd93057018594b
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/330
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/kernel/heapmgr.C')
| -rw-r--r-- | src/kernel/heapmgr.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/heapmgr.C b/src/kernel/heapmgr.C index 5eddccc3d..7d3757b9f 100644 --- a/src/kernel/heapmgr.C +++ b/src/kernel/heapmgr.C @@ -102,7 +102,7 @@ void HeapManager::newPage() { void* page = PageManager::allocatePage(); chunk_t * c = (chunk_t*)page; - for (int i = 0; i < (PAGESIZE / (1 << (BUCKETS + 3))); i++) + for (uint64_t i = 0; i < (PAGESIZE / (1 << (BUCKETS + 3))); i++) { c->len = BUCKETS-1; push_bucket(c, BUCKETS-1); |

