Changeset 98e4507 in mainline for kernel/generic/src/mm/as.c
- Timestamp:
- 2011-05-20T01:13:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c460cc
- Parents:
- a0bb65af (diff), 326bf65 (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/as.c
ra0bb65af r98e4507 482 482 483 483 /* 484 * Search the leaf node and the righ most record of its left neighbour484 * Search the leaf node and the rightmost record of its left neighbour 485 485 * to find out whether this is a miss or va belongs to an address 486 486 * space area found there. … … 494 494 495 495 mutex_lock(&area->lock); 496 497 if ((area->base <= va) &&498 (va < area->base + (area->pages << PAGE_WIDTH)))496 497 size_t size = area->pages << PAGE_WIDTH; 498 if ((area->base <= va) && (va <= area->base + (size - 1))) 499 499 return area; 500 500
Note:
See TracChangeset
for help on using the changeset viewer.