Changeset fd72312 in mainline for kernel/generic/src/ipc/kbox.c
- Timestamp:
- 2009-02-10T13:49:37Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 820edde
- Parents:
- 198a9ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/kbox.c
r198a9ef rfd72312 129 129 ipl = interrupts_disable(); 130 130 spinlock_lock(&TASK->lock); 131 spinlock_lock(&TASK-> answerbox.lock);132 if (list_empty(&TASK-> answerbox.connected_phones)) {131 spinlock_lock(&TASK->kb.box.lock); 132 if (list_empty(&TASK->kb.box.connected_phones)) { 133 133 /* 134 134 * Last phone has been disconnected. Detach this thread so it … … 151 151 } 152 152 153 spinlock_unlock(&TASK-> answerbox.lock);153 spinlock_unlock(&TASK->kb.box.lock); 154 154 spinlock_unlock(&TASK->lock); 155 155 interrupts_restore(ipl);
Note:
See TracChangeset
for help on using the changeset viewer.