Subversion Repositories HelenOS

Rev

Rev 1070 | Rev 1108 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1070 Rev 1076
Line 443... Line 443...
443
        return (__address) -1;
443
        return (__address) -1;
444
    }
444
    }
445
 
445
 
446
    pages = SIZE2FRAMES((address - area->base) + size);
446
    pages = SIZE2FRAMES((address - area->base) + size);
447
    if (!check_area_conflicts(as, address, pages * PAGE_SIZE, area)) {
447
    if (!check_area_conflicts(as, address, pages * PAGE_SIZE, area)) {
-
 
448
        spinlock_unlock(&area->lock);
448
        spinlock_unlock(&as->lock);
449
        spinlock_unlock(&as->lock);    
449
        interrupts_restore(ipl);
450
        interrupts_restore(ipl);
450
        return (__address) -1;
451
        return (__address) -1;
451
    }
452
    }
452
 
453