Changeset 4ed7870 in mainline


Ignore:
Timestamp:
2024-01-16T15:37:59Z (3 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
ed7e057
Parents:
e82879c
Message:

Revert part of commit 5861b602

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/scheduler.c

    re82879c r4ed7870  
    449449        THREAD->kcycles += get_cycle() - THREAD->last_cycle;
    450450
    451         /*
    452          * On Sparc, this saves some extra userspace state that's not
    453          * covered by context_save()/context_restore().
    454          */
    455         after_thread_ran_arch();
    456 
    457451        if (new_state == Sleeping) {
    458452                /* Prefer the thread after it's woken up. */
     
    517511
    518512        if (THREAD) {
     513                /*
     514                 * On Sparc, this saves some extra userspace state that's not
     515                 * covered by context_save()/context_restore().
     516                 */
     517                after_thread_ran_arch();
     518
    519519                state_t state = THREAD->state;
    520520                irq_spinlock_unlock(&THREAD->lock, false);
Note: See TracChangeset for help on using the changeset viewer.