Commit 9802f2a0 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

copperplate/regd: convert to shared heapmem

parent cb2e0f6d
......@@ -211,8 +211,8 @@ int open_heaps(struct fsobj *fsobj, void *priv)
struct sysgroup_memspec *obj, *tmp;
struct heap_data *heap_data, *p;
struct shared_heap_memory *heap;
struct fsobstack *o = priv;
struct shared_heap *heap;
int ret, count, len = 0;
ret = heapobj_bind_session(__copperplate_setup_data.session_label);
......@@ -244,10 +244,10 @@ int open_heaps(struct fsobj *fsobj, void *priv)
for_each_sysgroup(obj, tmp, heap) {
if (p - heap_data >= count)
heap = container_of(obj, struct shared_heap, memspec);
heap = container_of(obj, struct shared_heap_memory, memspec);
namecpy(p->name, heap->name);
p->used = heap->ubytes;
p->total = heap->total;
p->used = heap->used_size;
p->total = heap->usable_size;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment