Changeset af96dd57 in mainline
- Timestamp:
- 2010-07-27T16:37:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 142084b2
- Parents:
- a2da43c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
ra2da43c raf96dd57 161 161 for (j = zones.count; j > i; j--) { 162 162 zones.info[j] = zones.info[j - 1]; 163 zones.info[j].buddy_system->data = 164 (void *) &zones.info[j - 1]; 163 if (zones.info[j].buddy_system != NULL) 164 zones.info[j].buddy_system->data = 165 (void *) &zones.info[j]; 165 166 } 166 167 … … 762 763 for (i = z2 + 1; i < zones.count; i++) { 763 764 zones.info[i - 1] = zones.info[i]; 764 zones.info[i - 1].buddy_system->data = 765 (void *) &zones.info[i - 1]; 765 if (zones.info[i - 1].buddy_system != NULL) 766 zones.info[i - 1].buddy_system->data = 767 (void *) &zones.info[i - 1]; 766 768 } 767 769
Note:
See TracChangeset
for help on using the changeset viewer.