Changeset 63e27ef in mainline for kernel/generic/src/ipc/irq.c
- Timestamp:
- 2017-06-19T21:47:42Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- deacc58d
- Parents:
- 7354b5e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/irq.c
r7354b5e r63e27ef 72 72 73 73 #include <arch.h> 74 #include <assert.h> 74 75 #include <mm/slab.h> 75 76 #include <mm/page.h> … … 399 400 irq_spinlock_lock(&box->irq_lock, false); 400 401 401 ASSERT(irq->notif_cfg.answerbox == box);402 assert(irq->notif_cfg.answerbox == box); 402 403 403 404 /* Remove the IRQ from the answerbox's list. */ … … 463 464 key[1] = irq->devno; 464 465 465 ASSERT(irq->notif_cfg.answerbox == box);466 assert(irq->notif_cfg.answerbox == box); 466 467 467 468 /* Unlist from the answerbox. */ … … 607 608 void ipc_irq_top_half_handler(irq_t *irq) 608 609 { 609 ASSERT(irq);610 611 ASSERT(interrupts_disabled());612 ASSERT(irq_spinlock_locked(&irq->lock));610 assert(irq); 611 612 assert(interrupts_disabled()); 613 assert(irq_spinlock_locked(&irq->lock)); 613 614 614 615 if (irq->notif_cfg.answerbox) {
Note:
See TracChangeset
for help on using the changeset viewer.