Changeset 63e27ef in mainline for kernel/generic/src/ipc/irq.c


Ignore:
Timestamp:
2017-06-19T21:47:42Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deacc58d
Parents:
7354b5e
Message:

ASSERT → assert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/irq.c

    r7354b5e r63e27ef  
    7272
    7373#include <arch.h>
     74#include <assert.h>
    7475#include <mm/slab.h>
    7576#include <mm/page.h>
     
    399400        irq_spinlock_lock(&box->irq_lock, false);
    400401       
    401         ASSERT(irq->notif_cfg.answerbox == box);
     402        assert(irq->notif_cfg.answerbox == box);
    402403       
    403404        /* Remove the IRQ from the answerbox's list. */
     
    463464                key[1] = irq->devno;
    464465               
    465                 ASSERT(irq->notif_cfg.answerbox == box);
     466                assert(irq->notif_cfg.answerbox == box);
    466467               
    467468                /* Unlist from the answerbox. */
     
    607608void ipc_irq_top_half_handler(irq_t *irq)
    608609{
    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));
    613614       
    614615        if (irq->notif_cfg.answerbox) {
Note: See TracChangeset for help on using the changeset viewer.