Changeset 5f85c91 in mainline for generic/src/proc/scheduler.c


Ignore:
Timestamp:
2005-11-08T12:22:35Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a140b
Parents:
389f41e
Message:

make configuration variables usage consistent

File:
1 edited

Legend:

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

    r389f41e r5f85c91  
    6262{
    6363        before_thread_runs_arch();
    64 #ifdef FPU_LAZY
     64#ifdef CONFIG_FPU_LAZY
    6565        if(THREAD==CPU->fpu_owner)
    6666                fpu_enable();
     
    7878}
    7979
    80 #ifdef FPU_LAZY
     80#ifdef CONFIG_FPU_LAZY
    8181void scheduler_fpu_lazy_request(void)
    8282{
     
    135135       
    136136        if (n == 0) {
    137                 #ifdef __SMP__
     137                #ifdef CONFIG_SMP
    138138                /*
    139139                 * If the load balancing thread is not running, wake it up and
     
    144144                        goto loop;
    145145                }
    146                 #endif /* __SMP__ */
     146                #endif /* CONFIG_SMP */
    147147               
    148148                /*
     
    413413        if (THREAD) {
    414414                spinlock_lock(&THREAD->lock);
    415 #ifndef FPU_LAZY
     415#ifndef CONFIG_FPU_LAZY
    416416                fpu_context_save(&(THREAD->saved_fpu_context));
    417417#endif
     
    463463
    464464
    465 #ifdef __SMP__
     465#ifdef CONFIG_SMP
    466466/** Load balancing thread
    467467 *
     
    624624}
    625625
    626 #endif /* __SMP__ */
     626#endif /* CONFIG_SMP */
Note: See TracChangeset for help on using the changeset viewer.