Changeset c621f4aa in mainline for kernel/generic/src/ipc/event.c
- Timestamp:
- 2010-07-25T10:11:13Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 377cce8
- Parents:
- 24a2517 (diff), a2da43c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/generic/src/ipc/event.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/event.c
r24a2517 rc621f4aa 38 38 #include <ipc/event_types.h> 39 39 #include <mm/slab.h> 40 #include < arch/types.h>40 #include <typedefs.h> 41 41 #include <synch/spinlock.h> 42 42 #include <console/console.h> … … 137 137 IPC_SET_ARG5(call->data, a5); 138 138 139 ipl_t ipl = interrupts_disable(); 140 spinlock_lock(&events[evno].answerbox->irq_lock); 139 irq_spinlock_lock(&events[evno].answerbox->irq_lock, true); 141 140 list_append(&call->link, &events[evno].answerbox->irq_notifs); 142 spinlock_unlock(&events[evno].answerbox->irq_lock); 143 interrupts_restore(ipl); 141 irq_spinlock_unlock(&events[evno].answerbox->irq_lock, true); 144 142 145 143 waitq_wakeup(&events[evno].answerbox->wq, WAKEUP_FIRST);
Note:
See TracChangeset
for help on using the changeset viewer.
