Subversion Repositories HelenOS

Rev

Rev 625 | Rev 650 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 625 Rev 631
Line 404... Line 404...
404
 
404
 
405
    ASSERT(CPU != NULL);
405
    ASSERT(CPU != NULL);
406
 
406
 
407
    ipl = interrupts_disable();
407
    ipl = interrupts_disable();
408
 
408
 
409
    if (haltstate)
409
    if (atomic_get(&haltstate))
410
        halt();
410
        halt();
411
 
411
 
412
    if (THREAD) {
412
    if (THREAD) {
413
        spinlock_lock(&THREAD->lock);
413
        spinlock_lock(&THREAD->lock);
414
#ifndef CONFIG_FPU_LAZY
414
#ifndef CONFIG_FPU_LAZY