Changeset b0f00a9 in mainline for kernel/generic/src/sysinfo/stats.c
- Timestamp:
- 2011-11-06T22:21:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 898e847
- Parents:
- 2bdf8313 (diff), 7b5f4c9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/generic/src/sysinfo/stats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/stats.c
r2bdf8313 rb0f00a9 35 35 36 36 #include <typedefs.h> 37 #include < sysinfo/abi.h>37 #include <abi/sysinfo.h> 38 38 #include <sysinfo/stats.h> 39 39 #include <sysinfo/sysinfo.h> … … 173 173 174 174 /* Walk the B+ tree and count pages */ 175 link_t *cur; 176 for (cur = as->as_area_btree.leaf_head.next; 177 cur != &as->as_area_btree.leaf_head; cur = cur->next) { 175 list_foreach(as->as_area_btree.leaf_list, cur) { 178 176 btree_node_t *node = 179 177 list_get_instance(cur, btree_node_t, leaf_link); … … 218 216 219 217 /* Walk the B+ tree and count pages */ 220 link_t *cur; 221 for (cur = as->as_area_btree.leaf_head.next; 222 cur != &as->as_area_btree.leaf_head; cur = cur->next) { 218 list_foreach(as->as_area_btree.leaf_list, cur) { 223 219 btree_node_t *node = 224 220 list_get_instance(cur, btree_node_t, leaf_link);
Note:
See TracChangeset
for help on using the changeset viewer.
