Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/stats.c

    r1ab8539 r63e27ef  
    3434 */
    3535
     36#include <assert.h>
    3637#include <typedefs.h>
    3738#include <abi/sysinfo.h>
     
    4546#include <proc/thread.h>
    4647#include <interrupt.h>
     48#include <stdbool.h>
    4749#include <str.h>
    4850#include <errno.h>
     
    230232static void produce_stats_task(task_t *task, stats_task_t *stats_task)
    231233{
    232         ASSERT(interrupts_disabled());
    233         ASSERT(irq_spinlock_locked(&task->lock));
     234        assert(interrupts_disabled());
     235        assert(irq_spinlock_locked(&task->lock));
    234236       
    235237        stats_task->task_id = task->taskid;
     
    332334static void produce_stats_thread(thread_t *thread, stats_thread_t *stats_thread)
    333335{
    334         ASSERT(interrupts_disabled());
    335         ASSERT(irq_spinlock_locked(&thread->lock));
     336        assert(interrupts_disabled());
     337        assert(irq_spinlock_locked(&thread->lock));
    336338       
    337339        stats_thread->thread_id = thread->tid;
Note: See TracChangeset for help on using the changeset viewer.