Changeset 9dfc69a in mainline for generic/src/synch/futex.c
- Timestamp:
- 2006-05-25T08:51:03Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 47800e0
- Parents:
- 8d6bc2d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/synch/futex.c
r8d6bc2d5 r9dfc69a 120 120 return (__native) ENOENT; 121 121 } 122 paddr = P FN2ADDR(PTE_GET_FRAME(t)) + (uaddr - ALIGN_DOWN(uaddr, PAGE_SIZE));122 paddr = PTE_GET_FRAME(t) + (uaddr - ALIGN_DOWN(uaddr, PAGE_SIZE)); 123 123 page_table_unlock(AS, true); 124 124 … … 134 134 * @param uaddr Userspace address of the futex counter. 135 135 * 136 * @return ENOENT if there is no futex associated with the address 137 * or if there is no physical mapping for uaddr. 136 * @return ENOENT if there is no physical mapping for uaddr. 138 137 */ 139 138 __native sys_futex_wakeup(__address uaddr) … … 156 155 return (__native) ENOENT; 157 156 } 158 paddr = P FN2ADDR(PTE_GET_FRAME(t)) + (uaddr - ALIGN_DOWN(uaddr, PAGE_SIZE));157 paddr = PTE_GET_FRAME(t) + (uaddr - ALIGN_DOWN(uaddr, PAGE_SIZE)); 159 158 page_table_unlock(AS, true); 160 159 … … 193 192 /* 194 193 * Upgrade to writer is not currently supported, 195 * Therefore, it is necessary to release the read lock194 * therefore, it is necessary to release the read lock 196 195 * and reacquire it as a writer. 197 196 */
Note:
See TracChangeset
for help on using the changeset viewer.