Changeset a422bc5 in mainline
- Timestamp:
- 2010-04-28T20:48:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55821eea
- Parents:
- 373acb4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ddi/ddi.c
r373acb4 ra422bc5 160 160 161 161 map: 162 spinlock_lock(&TASK->lock);163 162 interrupts_restore(ipl); 163 164 164 if (!as_area_create(TASK->as, flags, pages * PAGE_SIZE, vp, 165 165 AS_AREA_ATTR_NONE, &phys_backend, &backend_data)) { … … 168 168 * We report it using ENOMEM. 169 169 */ 170 spinlock_unlock(&TASK->lock);171 interrupts_restore(ipl);172 170 return ENOMEM; 173 171 } … … 176 174 * Mapping is created on-demand during page fault. 177 175 */ 178 179 spinlock_unlock(&TASK->lock);180 interrupts_restore(ipl);181 176 return 0; 182 177 }
Note:
See TracChangeset
for help on using the changeset viewer.