Changeset 69114714 in mainline for kernel/generic/src/ipc/irq.c
- Timestamp:
- 2012-02-12T12:46:52Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 077bc5b9
- Parents:
- 89b6a3b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/irq.c
r89b6a3b r69114714 174 174 irq->notif_cfg.code = code; 175 175 irq->notif_cfg.counter = 0; 176 irq->driver_as = AS;177 176 178 177 /* … … 364 363 if (!code) 365 364 return IRQ_DECLINE; 366 367 as_t *current_as = AS;368 if (current_as != irq->driver_as)369 as_switch(AS, irq->driver_as);370 365 371 366 for (size_t i = 0; i < code->cmdcount; i++) { … … 455 450 } 456 451 457 if (AS != current_as)458 as_switch(AS, current_as);459 460 452 return IRQ_DECLINE; 461 453 }
Note:
See TracChangeset
for help on using the changeset viewer.