Ignore:
File:
1 edited

Legend:

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

    r63e27ef r1ab8539  
    3434 */
    3535
    36 #include <assert.h>
    3736#include <typedefs.h>
    3837#include <abi/sysinfo.h>
     
    4645#include <proc/thread.h>
    4746#include <interrupt.h>
    48 #include <stdbool.h>
    4947#include <str.h>
    5048#include <errno.h>
     
    232230static void produce_stats_task(task_t *task, stats_task_t *stats_task)
    233231{
    234         assert(interrupts_disabled());
    235         assert(irq_spinlock_locked(&task->lock));
     232        ASSERT(interrupts_disabled());
     233        ASSERT(irq_spinlock_locked(&task->lock));
    236234       
    237235        stats_task->task_id = task->taskid;
     
    334332static void produce_stats_thread(thread_t *thread, stats_thread_t *stats_thread)
    335333{
    336         assert(interrupts_disabled());
    337         assert(irq_spinlock_locked(&thread->lock));
     334        ASSERT(interrupts_disabled());
     335        ASSERT(irq_spinlock_locked(&thread->lock));
    338336       
    339337        stats_thread->thread_id = thread->tid;
Note: See TracChangeset for help on using the changeset viewer.