Changeset a49a1a1 in mainline


Ignore:
Timestamp:
2010-06-22T11:35:06Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
402eda5
Parents:
ee42e43
Message:

Do not disable interrupts in sys_futex_wakeup().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/futex.c

    ree42e43 ra49a1a1  
    150150        uintptr_t paddr;
    151151        pte_t *t;
    152         ipl_t ipl;
    153        
    154         ipl = interrupts_disable();
    155152       
    156153        /*
     
    161158        if (!t || !PTE_VALID(t) || !PTE_PRESENT(t)) {
    162159                page_table_unlock(AS, true);
    163                 interrupts_restore(ipl);
    164160                return (unative_t) ENOENT;
    165161        }
     
    167163        page_table_unlock(AS, true);
    168164       
    169         interrupts_restore(ipl);
    170 
    171165        futex = futex_find(paddr);
    172166               
Note: See TracChangeset for help on using the changeset viewer.