Changeset bd72b475 in mainline


Ignore:
Timestamp:
2006-03-17T13:20:54Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c6a19e6
Parents:
23d22eb
Message:

Unlock address space area when returning error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/mm/as.c

    r23d22eb rbd72b475  
    446446        pages = SIZE2FRAMES((address - area->base) + size);
    447447        if (!check_area_conflicts(as, address, pages * PAGE_SIZE, area)) {
    448                 spinlock_unlock(&as->lock);
     448                spinlock_unlock(&area->lock);
     449                spinlock_unlock(&as->lock);             
    449450                interrupts_restore(ipl);
    450451                return (__address) -1;
Note: See TracChangeset for help on using the changeset viewer.