Changeset a33f0a6 in mainline for kernel/generic/src/mm/buddy.c
- Timestamp:
- 2011-08-03T17:34:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1940326
- Parents:
- 52a79081 (diff), 3fab770 (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
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/buddy.c
r52a79081 ra33f0a6 82 82 * Use memory after our own structure. 83 83 */ 84 b->order = (li nk_t *) (&b[1]);84 b->order = (list_t *) (&b[1]); 85 85 86 86 for (i = 0; i <= max_order; i++) … … 176 176 * the request can be immediatelly satisfied. 177 177 */ 178 if (!list_empty(&b->order[i])) {179 res = b->order[i].next;178 res = list_first(&b->order[i]); 179 if (res != NULL) { 180 180 list_remove(res); 181 181 b->op->mark_busy(b, res);
Note:
See TracChangeset
for help on using the changeset viewer.