Changes in kernel/generic/src/proc/scheduler.c [1558d85:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
r1558d85 r63e27ef 39 39 */ 40 40 41 #include <assert.h> 41 42 #include <proc/scheduler.h> 42 43 #include <proc/thread.h> … … 64 65 #include <print.h> 65 66 #include <log.h> 66 #include <debug.h>67 67 #include <stacktrace.h> 68 68 … … 200 200 static thread_t *find_best_thread(void) 201 201 { 202 ASSERT(CPU != NULL);202 assert(CPU != NULL); 203 203 204 204 loop: … … 225 225 } 226 226 227 ASSERT(!CPU->idle);227 assert(!CPU->idle); 228 228 229 229 unsigned int i; … … 322 322 volatile ipl_t ipl; 323 323 324 ASSERT(CPU != NULL);324 assert(CPU != NULL); 325 325 326 326 ipl = interrupts_disable(); … … 403 403 as_t *old_as = AS; 404 404 405 ASSERT((!THREAD) || (irq_spinlock_locked(&THREAD->lock)));406 ASSERT(CPU != NULL);407 ASSERT(interrupts_disabled());405 assert((!THREAD) || (irq_spinlock_locked(&THREAD->lock))); 406 assert(CPU != NULL); 407 assert(interrupts_disabled()); 408 408 409 409 /*
Note:
See TracChangeset
for help on using the changeset viewer.