Changeset fdaad75d in mainline for kernel/generic/src/synch/futex.c
- Timestamp:
- 2010-06-22T02:18:35Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ee42e43
- Parents:
- 4ca26c9b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/futex.c
r4ca26c9b rfdaad75d 113 113 uintptr_t paddr; 114 114 pte_t *t; 115 ipl_t ipl;116 115 int rc; 117 116 118 ipl = interrupts_disable();119 120 117 /* 121 118 * Find physical address of futex counter. … … 125 122 if (!t || !PTE_VALID(t) || !PTE_PRESENT(t)) { 126 123 page_table_unlock(AS, true); 127 interrupts_restore(ipl);128 124 return (unative_t) ENOENT; 129 125 } … … 131 127 page_table_unlock(AS, true); 132 128 133 interrupts_restore(ipl);134 135 129 futex = futex_find(paddr); 136 130
Note:
See TracChangeset
for help on using the changeset viewer.